Last updated on 2025-11-16 07:50:05 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| hyperSpec | 13 | ||
| hySpc.testthat | 4 | 3 | 6 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 4, NOTE: 3, OK: 6
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(hySpc.testthat)
>
> test_check("hySpc.testthat")
Saving _problems/test_attached-3.R
Saving _problems/test_attached-3.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_attached.R:3:1'): correct execution ────────────────────────────
Error in `identical(self$running[[self$current_file]]$context, context)`: attempt to use zero-length variable name
Backtrace:
▆
1. └─hySpc.testthat::test_fun(f, reporter = "list")
2. ├─testthat::with_reporter(reporter = reporter, test())
3. │ └─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. └─hySpc.testthat (local) test()
8. └─testthat::test_that(...)
9. └─testthat:::test_code(code, parent.frame())
10. └─reporter$start_test(context = reporter$.context, test = test)
11. └─base::identical(self$running[[self$current_file]]$context, context)
── Error ('test_attached.R:3:1'): standalone ───────────────────────────────────
Error in `identical(self$running[[self$current_file]]$context, context)`: attempt to use zero-length variable name
Backtrace:
▆
1. └─hySpc.testthat::unittest(ns = test_env, reporter = "list")
2. ├─testthat::with_reporter(...)
3. │ └─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. └─hySpc.testthat (local) t()
8. └─testthat::test_that(...)
9. └─testthat:::test_code(code, parent.frame())
10. └─reporter$start_test(context = reporter$.context, test = test)
11. └─base::identical(self$running[[self$current_file]]$context, context)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 2 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(hySpc.testthat)
>
> test_check("hySpc.testthat")
Saving _problems/test_attached-3.R
Saving _problems/test_attached-3.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_attached.R:3:1'): correct execution ────────────────────────────
Error in `identical(self$running[[self$current_file]]$context, context)`: attempt to use zero-length variable name
Backtrace:
▆
1. └─hySpc.testthat::test_fun(f, reporter = "list")
2. ├─testthat::with_reporter(reporter = reporter, test())
3. │ └─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. └─hySpc.testthat (local) test()
8. └─testthat::test_that(...)
9. └─testthat:::test_code(code, parent.frame())
10. └─reporter$start_test(context = reporter$.context, test = test)
11. └─base::identical(self$running[[self$current_file]]$context, context)
── Error ('test_attached.R:3:1'): standalone ───────────────────────────────────
Error in `identical(self$running[[self$current_file]]$context, context)`: attempt to use zero-length variable name
Backtrace:
▆
1. └─hySpc.testthat::unittest(ns = test_env, reporter = "list")
2. ├─testthat::with_reporter(...)
3. │ └─base::tryCatch(...)
4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
7. └─hySpc.testthat (local) t()
8. └─testthat::test_that(...)
9. └─testthat:::test_code(code, parent.frame())
10. └─reporter$start_test(context = reporter$.context, test = test)
11. └─base::identical(self$running[[self$current_file]]$context, context)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 2 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.1
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64