Last updated on 2026-06-29 07:52:41 CEST.
| Package | ERROR | OK |
|---|---|---|
| NetLogoR | 13 | |
| quickPlot | 13 | |
| reproducible | 1 | 12 |
| Require | 4 | 9 |
| SpaDES.core | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 3.1.1
Check: tests
Result: ERROR
Running ‘test-all.R’ [88s/114s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library(testthat)
>
> # NOTE: ALL OPTIONS ARE BEING SET IN tests/testthat/setup.R
>
> ## Test matrix: 5 combinations of {raster, terra} × {USE_DBI, no DBI} +
> ## qs cache format. Running them sequentially in one R session was the
> ## documented behavior, but on ubuntu CI it triggered SIGTERM mass-kills
> ## (cumulative memory pressure from 5 test_check passes loading namespaces
> ## + raster/SF objects without releasing between iterations). Bisect on
> ## branch `bisect-ubuntu-fail` confirmed the SINGLE-pass full suite
> ## passes; only the 5-pass version wedges. Default to single pass; opt
> ## back into the full matrix via R_REPRO_TEST_FULL_MATRIX=true (e.g.
> ## locally or on a separate workflow) when you want the full coverage.
> if (nzchar(Sys.getenv("R_REPRO_TEST_FULL_MATRIX")) &&
+ as.logical(Sys.getenv("R_REPRO_TEST_FULL_MATRIX"))) {
+ ## Full 5-combo matrix (opt-in)
+ Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "raster::raster")
+ Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false")
+ test_check("reproducible")
+
+ Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "raster::raster")
+ Sys.setenv(R_REPRODUCIBLE_USE_DBI = "true")
+ test_check("reproducible")
+
+ Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "terra::rast") ## default
+ Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") ## default
+ test_check("reproducible")
+
+ Sys.setenv(R_REPRODUCIBLE_RASTER_READ = "terra::rast")
+ Sys.setenv(R_REPRODUCIBLE_USE_DBI = "true")
+ test_check("reproducible")
+
+ Sys.setenv(R_REPRODUCIBLE_CACHESAVEFORMAT = "qs") ## default
+ Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") ## default
+ test_check("reproducible")
+
+ } else {
+ ## Single pass at defaults (terra + USE_DBI=FALSE + qs format).
+ ## Covers ~95% of the test surface; alternate raster/DBI paths are
+ ## still exercised by individual test files that explicitly opt in.
+ test_check("reproducible")
+ }
Loading required package: reproducible
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
[ FAIL 1 | WARN 0 | SKIP 104 | PASS 694 ]
══ Skipped tests (104) ═════════════════════════════════════════════════════════
• No Drive token (3): 'test-misc.R:141:3', 'test-prepInputs.R:1303:3',
'test-prepInputs.R:1322:3'
• On CRAN (99): 'test-cache.R:158:3', 'test-cache.R:924:3',
'test-cache.R:944:3', 'test-cache.R:1157:3', 'test-cache.R:1723:3',
'test-cache.R:1846:3', 'test-cache.R:1858:3', 'test-cacheGeo.R:2:3',
'test-cloud.R:2:3', 'test-cloud.R:147:3', 'test-cloud.R:190:3',
'test-cloud.R:214:3', 'test-cloud.R:238:3', 'test-cluster.R:2:3',
'test-destinationPathShared.R:745:3', 'test-destinationPathShared.R:1155:1',
'test-destinationPathShared.R:1204:1', 'test-download.R:2:3',
'test-download.R:14:3', 'test-filesMissingExtension.R:2:3',
'test-filesMissingExtension.R:19:3', 'test-filesMissingExtension.R:36:3',
'test-filesMissingExtension.R:54:3', 'test-filesMissingExtension.R:71:3',
'test-gis.R:2:3', 'test-lazyAsyncSpawn.R:6:3', 'test-lazyAsyncSpawn.R:41:3',
'test-misc.R:62:3', 'test-omitArgsTRUE.R:5:3', 'test-omitArgsTRUE.R:47:3',
'test-postProcess.R:2:3', 'test-postProcess.R:231:3',
'test-postProcess.R:279:3', 'test-preProcessDoesntWork.R:2:3',
'test-preProcessDoesntWork.R:130:3', 'test-preProcessDoesntWork.R:146:3',
'test-preProcessDoesntWork.R:160:3', 'test-preProcessDoesntWork.R:196:3',
'test-preProcessWorks.R:2:3', 'test-preProcessWorks.R:13:3',
'test-preProcessWorks.R:24:3', 'test-preProcessWorks.R:33:3',
'test-preProcessWorks.R:55:3', 'test-preProcessWorks.R:78:3',
'test-preProcessWorks.R:90:3', 'test-preProcessWorks.R:104:3',
'test-preProcessWorks.R:120:3', 'test-preProcessWorks.R:135:3',
'test-preProcessWorks.R:151:3', 'test-preProcessWorks.R:166:3',
'test-preProcessWorks.R:183:3', 'test-preProcessWorks.R:206:3',
'test-preProcessWorks.R:236:3', 'test-preProcessWorks.R:251:3',
'test-preProcessWorks.R:266:3', 'test-preProcessWorks.R:281:3',
'test-preProcessWorks.R:292:3', 'test-preProcessWorks.R:308:3',
'test-preProcessWorks.R:326:3', 'test-preProcessWorks.R:337:3',
'test-preProcessWorks.R:352:3', 'test-preProcessWorks.R:367:3',
'test-preProcessWorks.R:383:3', 'test-preProcessWorks.R:412:3',
'test-preProcessWorks.R:433:3', 'test-preProcessWorks.R:443:3',
'test-preProcessWorks.R:465:3', 'test-preProcessWorks.R:519:3',
'test-preProcessWorks.R:546:3', 'test-preProcessWorks.R:663:3',
'test-prepInputs-large-files.R:2:3', 'test-prepInputs-large-files.R:34:3',
'test-prepInputs-large-files.R:58:3', 'test-prepInputs.R:2:3',
'test-prepInputs.R:180:3', 'test-prepInputs.R:321:3',
'test-prepInputs.R:1226:3', 'test-prepInputs.R:1439:3',
'test-prepInputs.R:1614:3', 'test-prepInputs.R:1705:3',
'test-prepInputs.R:1980:3', 'test-prepInputs.R:2002:3',
'test-prepInputs.R:2133:3', 'test-prepInputs.R:2178:3',
'test-prepInputsCOG.R:36:3', 'test-prepInputsCOG.R:48:3',
'test-prepInputsInNestedArchives.R:2:3',
'test-prepInputsInNestedArchives.R:13:3',
'test-prepInputsInNestedArchives.R:28:3',
'test-prepInputsInNestedArchives.R:39:3',
'test-prepInputsInNestedArchives.R:59:5',
'test-prepInputsInNestedArchives.R:82:5',
'test-prepInputsInNestedArchives.R:104:5',
'test-prepInputsInNestedArchives.R:127:5',
'test-prepInputsInNestedArchives.R:152:5',
'test-prepInputsInNestedArchives.R:174:3', 'test-prepInputsUrlTiles.R:2:3',
'test-showCacheCorruptFile.R:8:3', 'test-symlinks.R:2:3'
• Only relevant for DBI backend (1): 'test-cache.R:1903:3'
• empty test (1): 'test-examples.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-cacheHelpers.R:99:3'): test miscellaneous unit tests cache-helpers ──
Expected `any(grepl(.message$LoadedCacheResult("Memoised"), dMess))` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 1 | WARN 0 | SKIP 104 | PASS 694 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Current CRAN status: ERROR: 4, OK: 9
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # Point pak's pkgcache at a per-session writable cache BEFORE library(Require)
> # loads pak. Under R CMD check (CRAN policy), pkgcache aborts if R_USER_CACHE_DIR
> # is unset; without this every Require::Install() inside the test suite errors
> # with "Please install pak" because pak's namespace fails to load.
> if (!nzchar(Sys.getenv("R_USER_CACHE_DIR"))) {
+ .ucd <- tempfile("RequireUserCache_")
+ dir.create(.ucd, recursive = TRUE, showWarnings = FALSE)
+ Sys.setenv(R_USER_CACHE_DIR = .ucd)
+ rm(.ucd)
+ }
>
> library(Require)
> library(testthat)
Attaching package: 'testthat'
The following object is masked from 'package:Require':
setup
> test_check("Require")
Saving _problems/test-00pkgSnapshot_testthat-2.R
Saving _problems/test-02extract_testthat-3.R
Saving _problems/test-03helpers_testthat-3.R
Saving _problems/test-08modules_testthat-4.R
Saving _problems/test-10DifferentPkgs_testthat-2.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-14coverage2_testthat-158.R
Saving _problems/test-15bugfixes_testthat-630.R
Saving _problems/test-15bugfixes_testthat-667.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-15bugfixes_testthat-674.R
Saving _problems/test-17usePak-372.R
Saving _problems/test-17usePak-384.R
Saving _problems/test-17usePak-386.R
Saving _problems/test-17usePak-388.R
Saving _problems/test-17usePak-1014.R
Saving _problems/test-17usePak-1486.R
Saving _problems/test-19smallSnapshot_testthat-2.R
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
══ Skipped tests (31) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-01packages_testthat.R:12:3',
'test-04other_testthat.R:8:3', 'test-05packagesLong_testthat.R:3:3',
'test-06pkgDep_testthat.R:2:3', 'test-09pkgSnapshotLong_testthat.R:13:3',
'test-11misc_testthat.R:7:3', 'test-12offlineMode_testthat.R:9:3',
'test-12offlineMode_testthat.R:76:3',
'test-16installFailureMetadata_testthat.R:449:3',
'test-16installFailureMetadata_testthat.R:473:3',
'test-16installFailureMetadata_testthat.R:509:3',
'test-16installFailureMetadata_testthat.R:547:3',
'test-16installFailureMetadata_testthat.R:586:3',
'test-16installFailureMetadata_testthat.R:638:3',
'test-18nosudo_testthat.R:108:3'
• parentChain test uses non-pak pkgDep internals (1):
'test-16parentChain_integration_testthat.R:25:3'
• {pak} is not installed (15): 'test-15bugfixes_testthat.R:200:3',
'test-15bugfixes_testthat.R:246:3', 'test-15bugfixes_testthat.R:301:3',
'test-15bugfixes_testthat.R:364:3', 'test-15bugfixes_testthat.R:432:3',
'test-15bugfixes_testthat.R:790:3', 'test-15bugfixes_testthat.R:848:3',
'test-17usePak.R:155:3', 'test-17usePak.R:191:3', 'test-17usePak.R:255:3',
'test-17usePak.R:1067:3', 'test-17usePak.R:1110:3', 'test-17usePak.R:1134:3',
'test-17usePak.R:1158:3', 'test-17usePak.R:1218:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-00pkgSnapshot_testthat.R:2:3'): test 1 ─────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-00pkgSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-02extract_testthat.R:3:3'): test 1 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-02extract_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-03helpers_testthat.R:3:3'): test 3 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-03helpers_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-08modules_testthat.R:4:3'): test 8 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-08modules_testthat.R:4:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-10DifferentPkgs_testthat.R:2:3'): test 10 ──────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest(needRequireInNewLib = TRUE) at test-10DifferentPkgs_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-14coverage2_testthat.R:158:3'): pkgDepTopoSort with local packages ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort("data.table") at test-14coverage2_testthat.R:158:3
2. └─Require::pkgDep(...)
── Failure ('test-15bugfixes_testthat.R:630:3'): Require accepts a multi-line string of packages (issue #147) ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-15bugfixes_testthat.R:667:3'): Require accepts an unquoted `{...}` block ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-15bugfixes_testthat.R:674:3'): pkgDepTopoSort's first arg is `packages` (consistent with Require) ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort(packages = "data.table") at test-15bugfixes_testthat.R:674:3
2. └─Require::pkgDep(...)
── Failure ('test-17usePak.R:371:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `any(recoverable)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest should be recoverable (installed version satisfies >= 0.1.0)
── Failure ('test-17usePak.R:383:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `pkg %in% recoverPkgs` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest must be in the set of recovered packages
── Failure ('test-17usePak.R:385:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `is.na(recoverDT$loadOrder[recoverDT$Package == pkg])` to be FALSE.
Differences:
`actual`:
`expected`: FALSE
recovered digest must have a non-NA loadOrder so doLoads() will require() it
── Failure ('test-17usePak.R:387:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `isTRUE(recoverDT$installedVersionOK[recoverDT$Package == pkg])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
recovered digest must have installedVersionOK = TRUE
── Failure ('test-17usePak.R:1013:3'): pinInstalledForPak rewrites installed plain refs to pkg@version ──
Expected `out[1L]` to be identical to `paste0("data.table@", dtVer)`.
Differences:
`actual`: "data.table"
`expected`: "data.table@1.18.4"
installed data.table must be pinned to its installed version
── Failure ('test-17usePak.R:1485:3'): pinInstalledForPak skips user-version-constrained packages ──
Expected `grepl("^data.table@", out[2])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
bare user packages with no constraint must be pinned to installed version to keep deps stable
── Error ('test-19smallSnapshot_testthat.R:2:3'): small snapshot install pins each package to the requested version ──
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-19smallSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
Error:
! Test failures.
Execution halted
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # Point pak's pkgcache at a per-session writable cache BEFORE library(Require)
> # loads pak. Under R CMD check (CRAN policy), pkgcache aborts if R_USER_CACHE_DIR
> # is unset; without this every Require::Install() inside the test suite errors
> # with "Please install pak" because pak's namespace fails to load.
> if (!nzchar(Sys.getenv("R_USER_CACHE_DIR"))) {
+ .ucd <- tempfile("RequireUserCache_")
+ dir.create(.ucd, recursive = TRUE, showWarnings = FALSE)
+ Sys.setenv(R_USER_CACHE_DIR = .ucd)
+ rm(.ucd)
+ }
>
> library(Require)
> library(testthat)
Attaching package: 'testthat'
The following object is masked from 'package:Require':
setup
> test_check("Require")
Saving _problems/test-00pkgSnapshot_testthat-2.R
Saving _problems/test-02extract_testthat-3.R
Saving _problems/test-03helpers_testthat-3.R
Saving _problems/test-08modules_testthat-4.R
Saving _problems/test-10DifferentPkgs_testthat-2.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-14coverage2_testthat-158.R
Saving _problems/test-15bugfixes_testthat-630.R
Saving _problems/test-15bugfixes_testthat-667.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-15bugfixes_testthat-674.R
Saving _problems/test-17usePak-372.R
Saving _problems/test-17usePak-384.R
Saving _problems/test-17usePak-386.R
Saving _problems/test-17usePak-388.R
Saving _problems/test-17usePak-1014.R
Saving _problems/test-17usePak-1486.R
Saving _problems/test-19smallSnapshot_testthat-2.R
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
══ Skipped tests (31) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-01packages_testthat.R:12:3',
'test-04other_testthat.R:8:3', 'test-05packagesLong_testthat.R:3:3',
'test-06pkgDep_testthat.R:2:3', 'test-09pkgSnapshotLong_testthat.R:13:3',
'test-11misc_testthat.R:7:3', 'test-12offlineMode_testthat.R:9:3',
'test-12offlineMode_testthat.R:76:3',
'test-16installFailureMetadata_testthat.R:449:3',
'test-16installFailureMetadata_testthat.R:473:3',
'test-16installFailureMetadata_testthat.R:509:3',
'test-16installFailureMetadata_testthat.R:547:3',
'test-16installFailureMetadata_testthat.R:586:3',
'test-16installFailureMetadata_testthat.R:638:3',
'test-18nosudo_testthat.R:108:3'
• parentChain test uses non-pak pkgDep internals (1):
'test-16parentChain_integration_testthat.R:25:3'
• {pak} is not installed (15): 'test-15bugfixes_testthat.R:200:3',
'test-15bugfixes_testthat.R:246:3', 'test-15bugfixes_testthat.R:301:3',
'test-15bugfixes_testthat.R:364:3', 'test-15bugfixes_testthat.R:432:3',
'test-15bugfixes_testthat.R:790:3', 'test-15bugfixes_testthat.R:848:3',
'test-17usePak.R:155:3', 'test-17usePak.R:191:3', 'test-17usePak.R:255:3',
'test-17usePak.R:1067:3', 'test-17usePak.R:1110:3', 'test-17usePak.R:1134:3',
'test-17usePak.R:1158:3', 'test-17usePak.R:1218:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-00pkgSnapshot_testthat.R:2:3'): test 1 ─────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-00pkgSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-02extract_testthat.R:3:3'): test 1 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-02extract_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-03helpers_testthat.R:3:3'): test 3 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-03helpers_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-08modules_testthat.R:4:3'): test 8 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-08modules_testthat.R:4:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-10DifferentPkgs_testthat.R:2:3'): test 10 ──────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest(needRequireInNewLib = TRUE) at test-10DifferentPkgs_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-14coverage2_testthat.R:158:3'): pkgDepTopoSort with local packages ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort("data.table") at test-14coverage2_testthat.R:158:3
2. └─Require::pkgDep(...)
── Failure ('test-15bugfixes_testthat.R:630:3'): Require accepts a multi-line string of packages (issue #147) ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-15bugfixes_testthat.R:667:3'): Require accepts an unquoted `{...}` block ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-15bugfixes_testthat.R:674:3'): pkgDepTopoSort's first arg is `packages` (consistent with Require) ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort(packages = "data.table") at test-15bugfixes_testthat.R:674:3
2. └─Require::pkgDep(...)
── Failure ('test-17usePak.R:371:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `any(recoverable)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest should be recoverable (installed version satisfies >= 0.1.0)
── Failure ('test-17usePak.R:383:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `pkg %in% recoverPkgs` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest must be in the set of recovered packages
── Failure ('test-17usePak.R:385:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `is.na(recoverDT$loadOrder[recoverDT$Package == pkg])` to be FALSE.
Differences:
`actual`:
`expected`: FALSE
recovered digest must have a non-NA loadOrder so doLoads() will require() it
── Failure ('test-17usePak.R:387:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `isTRUE(recoverDT$installedVersionOK[recoverDT$Package == pkg])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
recovered digest must have installedVersionOK = TRUE
── Failure ('test-17usePak.R:1013:3'): pinInstalledForPak rewrites installed plain refs to pkg@version ──
Expected `out[1L]` to be identical to `paste0("data.table@", dtVer)`.
Differences:
`actual`: "data.table"
`expected`: "data.table@1.18.4"
installed data.table must be pinned to its installed version
── Failure ('test-17usePak.R:1485:3'): pinInstalledForPak skips user-version-constrained packages ──
Expected `grepl("^data.table@", out[2])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
bare user packages with no constraint must be pinned to installed version to keep deps stable
── Error ('test-19smallSnapshot_testthat.R:2:3'): small snapshot install pins each package to the requested version ──
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-19smallSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # Point pak's pkgcache at a per-session writable cache BEFORE library(Require)
> # loads pak. Under R CMD check (CRAN policy), pkgcache aborts if R_USER_CACHE_DIR
> # is unset; without this every Require::Install() inside the test suite errors
> # with "Please install pak" because pak's namespace fails to load.
> if (!nzchar(Sys.getenv("R_USER_CACHE_DIR"))) {
+ .ucd <- tempfile("RequireUserCache_")
+ dir.create(.ucd, recursive = TRUE, showWarnings = FALSE)
+ Sys.setenv(R_USER_CACHE_DIR = .ucd)
+ rm(.ucd)
+ }
>
> library(Require)
> library(testthat)
Attaching package: 'testthat'
The following object is masked from 'package:Require':
setup
> test_check("Require")
Saving _problems/test-00pkgSnapshot_testthat-2.R
Saving _problems/test-02extract_testthat-3.R
Saving _problems/test-03helpers_testthat-3.R
Saving _problems/test-08modules_testthat-4.R
Saving _problems/test-10DifferentPkgs_testthat-2.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-14coverage2_testthat-158.R
Saving _problems/test-15bugfixes_testthat-630.R
Saving _problems/test-15bugfixes_testthat-667.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-15bugfixes_testthat-674.R
Saving _problems/test-17usePak-372.R
Saving _problems/test-17usePak-384.R
Saving _problems/test-17usePak-386.R
Saving _problems/test-17usePak-388.R
Saving _problems/test-17usePak-1014.R
Saving _problems/test-17usePak-1486.R
Saving _problems/test-19smallSnapshot_testthat-2.R
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
══ Skipped tests (31) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-01packages_testthat.R:12:3',
'test-04other_testthat.R:8:3', 'test-05packagesLong_testthat.R:3:3',
'test-06pkgDep_testthat.R:2:3', 'test-09pkgSnapshotLong_testthat.R:13:3',
'test-11misc_testthat.R:7:3', 'test-12offlineMode_testthat.R:9:3',
'test-12offlineMode_testthat.R:76:3',
'test-16installFailureMetadata_testthat.R:449:3',
'test-16installFailureMetadata_testthat.R:473:3',
'test-16installFailureMetadata_testthat.R:509:3',
'test-16installFailureMetadata_testthat.R:547:3',
'test-16installFailureMetadata_testthat.R:586:3',
'test-16installFailureMetadata_testthat.R:638:3',
'test-18nosudo_testthat.R:108:3'
• parentChain test uses non-pak pkgDep internals (1):
'test-16parentChain_integration_testthat.R:25:3'
• {pak} is not installed (15): 'test-15bugfixes_testthat.R:200:3',
'test-15bugfixes_testthat.R:246:3', 'test-15bugfixes_testthat.R:301:3',
'test-15bugfixes_testthat.R:364:3', 'test-15bugfixes_testthat.R:432:3',
'test-15bugfixes_testthat.R:790:3', 'test-15bugfixes_testthat.R:848:3',
'test-17usePak.R:155:3', 'test-17usePak.R:191:3', 'test-17usePak.R:255:3',
'test-17usePak.R:1067:3', 'test-17usePak.R:1110:3', 'test-17usePak.R:1134:3',
'test-17usePak.R:1158:3', 'test-17usePak.R:1218:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-00pkgSnapshot_testthat.R:2:3'): test 1 ─────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-00pkgSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-02extract_testthat.R:3:3'): test 1 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-02extract_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-03helpers_testthat.R:3:3'): test 3 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-03helpers_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-08modules_testthat.R:4:3'): test 8 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-08modules_testthat.R:4:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-10DifferentPkgs_testthat.R:2:3'): test 10 ──────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest(needRequireInNewLib = TRUE) at test-10DifferentPkgs_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-14coverage2_testthat.R:158:3'): pkgDepTopoSort with local packages ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort("data.table") at test-14coverage2_testthat.R:158:3
2. └─Require::pkgDep(...)
── Failure ('test-15bugfixes_testthat.R:630:3'): Require accepts a multi-line string of packages (issue #147) ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-15bugfixes_testthat.R:667:3'): Require accepts an unquoted `{...}` block ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-15bugfixes_testthat.R:674:3'): pkgDepTopoSort's first arg is `packages` (consistent with Require) ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort(packages = "data.table") at test-15bugfixes_testthat.R:674:3
2. └─Require::pkgDep(...)
── Failure ('test-17usePak.R:371:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `any(recoverable)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest should be recoverable (installed version satisfies >= 0.1.0)
── Failure ('test-17usePak.R:383:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `pkg %in% recoverPkgs` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest must be in the set of recovered packages
── Failure ('test-17usePak.R:385:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `is.na(recoverDT$loadOrder[recoverDT$Package == pkg])` to be FALSE.
Differences:
`actual`:
`expected`: FALSE
recovered digest must have a non-NA loadOrder so doLoads() will require() it
── Failure ('test-17usePak.R:387:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `isTRUE(recoverDT$installedVersionOK[recoverDT$Package == pkg])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
recovered digest must have installedVersionOK = TRUE
── Failure ('test-17usePak.R:1013:3'): pinInstalledForPak rewrites installed plain refs to pkg@version ──
Expected `out[1L]` to be identical to `paste0("data.table@", dtVer)`.
Differences:
`actual`: "data.table"
`expected`: "data.table@1.18.4"
installed data.table must be pinned to its installed version
── Failure ('test-17usePak.R:1485:3'): pinInstalledForPak skips user-version-constrained packages ──
Expected `grepl("^data.table@", out[2])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
bare user packages with no constraint must be pinned to installed version to keep deps stable
── Error ('test-19smallSnapshot_testthat.R:2:3'): small snapshot install pins each package to the requested version ──
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-19smallSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 13