CRAN Package Check Results for Maintainer ‘Jan Simson <jan.simson at lmu.de>’

Last updated on 2025-12-07 07:50:31 CET.

Package ERROR OK
occupationMeasurement 1 12

Package occupationMeasurement

Current CRAN status: ERROR: 1, OK: 12

Version: 0.3.2
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'devtools', 'shinytest2' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(occupationMeasurement) > > # Limit number of threads used by data.table > # More info here: https://github.com/Rdatatable/data.table/issues/5658 > data.table::setDTthreads(1) > > test_check("occupationMeasurement") Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error in `loadNamespace()`: ! there is no package called 'shinytest2' Backtrace: ▆ 1. ├─testthat::test_check("occupationMeasurement") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─base::suppressWarnings(shinytest2::load_app_env()) at ./setup.R:8:1 15. │ └─base::withCallingHandlers(...) 16. ├─base::loadNamespace(x) 17. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 18. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 19. │ │ └─base (local) doWithOneRestart(return(expr), restart) 20. │ └─base::stop(cond) 21. └─testthat (local) `<fn>`(`<S3: packageNotFoundError>`) 22. └─cli::cli_abort(...) 23. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc