CRAN Package Check Results for Package box

Last updated on 2024-09-14 01:49:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 4.47 52.53 57.00 NOTE
r-devel-linux-x86_64-debian-gcc 1.2.0 3.07 39.61 42.68 NOTE
r-devel-linux-x86_64-fedora-clang 1.2.0 92.57 NOTE
r-devel-windows-x86_64 1.2.0 8.00 81.00 89.00 NOTE
r-patched-linux-x86_64 1.2.0 5.21 50.69 55.90 OK
r-release-linux-x86_64 1.2.0 3.59 50.14 53.73 ERROR
r-release-macos-arm64 1.2.0 43.00 OK
r-release-macos-x86_64 1.2.0 101.00 OK
r-release-windows-x86_64 1.2.0 9.00 80.00 89.00 OK
r-oldrel-macos-arm64 1.2.0 56.00 OK
r-oldrel-macos-x86_64 1.2.0 140.00 OK
r-oldrel-windows-x86_64 1.2.0 9.00 89.00 98.00 OK

Check Details

Version: 1.2.0
Check: compiled code
Result: NOTE File ‘box/libs/box.so’: Found non-API calls to R: ‘ENVFLAGS’, ‘SET_ENVFLAGS’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang

Version: 1.2.0
Check: compiled code
Result: NOTE File 'box/libs/x64/box.dll': Found non-API calls to R: 'ENVFLAGS', 'SET_ENVFLAGS' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points. Flavor: r-devel-windows-x86_64

Version: 1.2.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘devtools’ Flavor: r-release-linux-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # Needed for subshells openend in tests, and does no harm otherwise. > # See <https://github.com/hadley/testthat/issues/144> for details. > Sys.setenv(R_TESTS = '') > testthat::test_check('box') Loading required package: box Attaching package: 'box' The following object is masked from 'package:utils': help The following objects are masked from 'package:base': file, topenv, use [ FAIL 13 | WARN 1 | SKIP 10 | PASS 534 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • On CRAN (6): 'test-find.r:93:5', 'test-find.r:98:5', 'test-rstudio.r:41:5', 'test-rstudio.r:61:5', 'test-vignettes.r:30:5', 'test-z-attach.r:8:5' • Only run on Windows (1): 'test-file.r:102:5' • Outside source code repository (3): 'test-file.r:18:5', 'test-file.r:69:5', 'test-interactive.r:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-help.r:7:5'): (code run outside of `test_that()`) ────────────── <packageNotFoundError/box_error/error/condition> Error in `box::use(mod/help/a)`: there is no package called 'devtools' Backtrace: ▆ 1. └─base::eval(...) 2. └─base::eval(...) 3. └─box::use(mod/help/a) at test-help.r:7:5 4. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 5. └─base::Map(.f, ..., USE.NAMES = FALSE) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─box (local) `<fn>`(...) 8. └─box:::rethrow_on_error(...) 9. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─box:::rethrow(error, call) ── Error ('test-pkg.r:25:5'): previously loaded user packages can be used ────── <packageNotFoundError/error/condition> Error in `loadNamespace("devtools")`: there is no package called 'devtools' Backtrace: ▆ 1. └─base::loadNamespace("devtools") at test-pkg.r:25:5 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-pkg.r:38:5'): unloaded user packages can be used ─────────────── <packageNotFoundError/box_error/error/condition> Error in `box::use(devtools)`: there is no package called 'devtools' Backtrace: ▆ 1. └─box::use(devtools) at test-pkg.r:38:5 2. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 3. └─base::Map(.f, ..., USE.NAMES = FALSE) 4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 5. └─box (local) `<fn>`(...) 6. └─box:::rethrow_on_error(...) 7. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) 11. └─box:::rethrow(error, call) ── Error ('test-pkg.r:57:5'): packages can be used with aliases ──────────────── <packageNotFoundError/box_error/error/condition> Error in `box::use(dev = devtools)`: there is no package called 'devtools' Backtrace: ▆ 1. └─box::use(dev = devtools) at test-pkg.r:57:5 2. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 3. └─base::Map(.f, ..., USE.NAMES = FALSE) 4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 5. └─box (local) `<fn>`(...) 6. └─box:::rethrow_on_error(...) 7. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) 11. └─box:::rethrow(error, call) ── Error ('test-pkg.r:64:5'): things can be attached locally ─────────────────── <packageNotFoundError/box_error/error/condition> Error in `box::use(devtools[load_all])`: there is no package called 'devtools' Backtrace: ▆ 1. └─box::use(devtools[load_all]) at test-pkg.r:64:5 2. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 3. └─base::Map(.f, ..., USE.NAMES = FALSE) 4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 5. └─box (local) `<fn>`(...) 6. └─box:::rethrow_on_error(...) 7. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) 11. └─box:::rethrow(error, call) ── Error ('test-pkg.r:75:5'): all things can be attached locally ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(name)`: there is no package called 'devtools' Backtrace: ▆ 1. └─base::getNamespaceExports("devtools") at test-pkg.r:75:5 2. └─base::asNamespace(ns) 3. └─base::getNamespace(ns) 4. ├─.Internal(getRegisteredNamespace(name)) %||% ... 5. └─base::loadNamespace(name) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-pkg.r:94:5'): things can be attached globally ────────────────── <packageNotFoundError/box_error/error/condition> Error in `box::use(devtools[load_all])`: there is no package called 'devtools' Backtrace: ▆ 1. ├─base::eval(quote(box::use(devtools[load_all])), .GlobalEnv) 2. │ └─base::eval(quote(box::use(devtools[load_all])), .GlobalEnv) 3. └─box::use(devtools[load_all]) 4. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 5. └─base::Map(.f, ..., USE.NAMES = FALSE) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─box (local) `<fn>`(...) 8. └─box:::rethrow_on_error(...) 9. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─box:::rethrow(error, call) ── Error ('test-pkg.r:105:9'): all things can be attached globally ───────────── <packageNotFoundError/error/condition> Error in `loadNamespace(name)`: there is no package called 'devtools' Backtrace: ▆ 1. ├─base::eval(...) 2. │ └─base::eval(...) 3. └─base::getNamespaceExports("devtools") at test-pkg.r:105:9 4. └─base::asNamespace(ns) 5. └─base::getNamespace(ns) 6. ├─.Internal(getRegisteredNamespace(name)) %||% ... 7. └─base::loadNamespace(name) 8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 9. └─base (local) withOneRestart(expr, restarts[[1L]]) 10. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-pkg.r:116:5'): attachments can be aliased ────────────────────── <packageNotFoundError/box_error/error/condition> Error in `box::use(devtools[u = unload, reload, la = load_all])`: there is no package called 'devtools' Backtrace: ▆ 1. └─box::use(devtools[u = unload, reload, la = load_all]) at test-pkg.r:116:5 2. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 3. └─base::Map(.f, ..., USE.NAMES = FALSE) 4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 5. └─box (local) `<fn>`(...) 6. └─box:::rethrow_on_error(...) 7. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) 11. └─box:::rethrow(error, call) ── Error ('test-pkg.r:126:5'): wildcard attachments can contain aliases ──────── <packageNotFoundError/error/condition> Error in `loadNamespace(name)`: there is no package called 'devtools' Backtrace: ▆ 1. └─base::getNamespaceExports("devtools") at test-pkg.r:126:5 2. └─base::asNamespace(ns) 3. └─base::getNamespace(ns) 4. ├─.Internal(getRegisteredNamespace(name)) %||% ... 5. └─base::loadNamespace(name) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-pkg.r:143:5'): only exported things can be attached ──────────── Error in `as.environment(pos)`: no item called "getNamespace("devtools")" on the search list Backtrace: ▆ 1. ├─box:::expect_in("yesno", ls(getNamespace("devtools"))) at test-pkg.r:143:5 2. │ └─testthat::quasi_label(rlang::enquo(list), arg = "list") at tests/testthat/helper-expect.r:34:5 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::ls(getNamespace("devtools")) ── Error ('test-pkg.r:148:5'): packages that attach things are not aliased ───── <packageNotFoundError/box_error/error/condition> Error in `box::use(devtools[load_all])`: there is no package called 'devtools' Backtrace: ▆ 1. └─box::use(devtools[load_all]) at test-pkg.r:148:5 2. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 3. └─base::Map(.f, ..., USE.NAMES = FALSE) 4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 5. └─box (local) `<fn>`(...) 6. └─box:::rethrow_on_error(...) 7. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) 11. └─box:::rethrow(error, call) ── Error ('test-pkg.r:155:5'): packages that attach things are can be aliased ── <packageNotFoundError/box_error/error/condition> Error in `box::use(dev = devtools[load_all])`: there is no package called 'devtools' Backtrace: ▆ 1. └─box::use(dev = devtools[load_all]) at test-pkg.r:155:5 2. └─box:::map(use_one, imports, aliases, list(caller), use_call = list(sys.call())) 3. └─base::Map(.f, ..., USE.NAMES = FALSE) 4. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 5. └─box (local) `<fn>`(...) 6. └─box:::rethrow_on_error(...) 7. └─base::tryCatch(expr, error = function(error) rethrow(error, call)) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) 11. └─box:::rethrow(error, call) [ FAIL 13 | WARN 1 | SKIP 10 | PASS 534 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64