The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Last updated on 2026-05-20 23:50:24 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.0.0 | 16.60 | 349.39 | 365.99 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.0.0 | 9.95 | 138.57 | 148.52 | OK | |
| r-devel-linux-x86_64-fedora-clang | 2.0.0 | 29.00 | 773.50 | 802.50 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 2.0.0 | 27.00 | 609.96 | 636.96 | OK | |
| r-devel-windows-x86_64 | 1.0.1 | 11.00 | 228.00 | 239.00 | ERROR | |
| r-patched-linux-x86_64 | 1.0.1 | 11.04 | 98.28 | 109.32 | NOTE | |
| r-release-linux-x86_64 | 1.0.1 | 9.59 | 97.87 | 107.46 | NOTE | |
| r-release-macos-arm64 | 2.0.0 | 4.00 | 56.00 | 60.00 | ERROR | |
| r-release-macos-x86_64 | 2.0.0 | 12.00 | 141.00 | 153.00 | ERROR | |
| r-release-windows-x86_64 | 2.0.0 | 22.00 | 276.00 | 298.00 | OK | |
| r-oldrel-macos-arm64 | 2.0.0 | ERROR | ||||
| r-oldrel-macos-x86_64 | 2.0.0 | 11.00 | 130.00 | 141.00 | ERROR | |
| r-oldrel-windows-x86_64 | 2.0.0 | 30.00 | 284.00 | 314.00 | OK |
Version: 1.0.1
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'Require2.R' 'helpers.R' 'pak.R' 'pkgDep3.R'
Flavors: r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.0.1
Check: tests
Result: ERROR
Running 'testthat.R' [144s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(Require)
> library(testthat)
Attaching package: 'testthat'
The following object is masked from 'package:Require':
setup
> test_check("Require")
Saving _problems/test-00pkgSnapshot_testthat-16.R
Saving _problems/test-01packages_testthat-36.R
Saving _problems/test-04other_testthat-19.R
Saving _problems/test-04other_testthat-26.R
[ FAIL 4 | WARN 0 | SKIP 7 | PASS 39 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• empty test (4): 'test-07pkgSnapshotLong_testthat.R:1:1',
'test-08modules_testthat.R:1:1', 'test-09pkgSnapshotLong_testthat.R:1:1',
'test-10DifferentPkgs_testthat.R:1:1'
• On CRAN (3): 'test-05packagesLong_testthat.R:3:3',
'test-06pkgDep_testthat.R:3:3', 'test-12offlineMode_testthat.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-00pkgSnapshot_testthat.R:16:3'): test 1 ────────────────────────
Error in `rbindlist(l, use.names, fill, idcol, ignore.attr)`: Item 2 has 18 columns, inconsistent with item 1 which has 19 columns. To fill missing columns use fill=TRUE.
Backtrace:
▆
1. ├─base::suppressWarnings(Require(c("rlang"), require = FALSE, quiet = quiet)) at test-00pkgSnapshot_testthat.R:16:3
2. │ └─base::withCallingHandlers(...)
3. └─Require::Require(c("rlang"), require = FALSE, quiet = quiet)
4. └─Require::pkgDep(...)
5. └─Require:::getPkgDeps(...)
6. └─Require:::getDeps(...)
7. └─Require:::getDepsNonGH(...)
8. └─Require:::pkgDepCRAN(...)
9. └─Require:::joinToAvailablePackages(...)
10. └─Require:::available.packagesCached(...)
11. ├─base::do.call(rbind, cap)
12. └─base (local) `<fn>`(binary = `<dt[,19]>`, source = `<dt[,18]>`)
13. └─data.table (local) rbind(deparse.level, ...)
14. └─data.table::rbindlist(l, use.names, fill, idcol, ignore.attr)
── Error ('test-01packages_testthat.R:32:3'): test 1 ───────────────────────────
Error in `rbindlist(l, use.names, fill, idcol, ignore.attr)`: Item 2 has 18 columns, inconsistent with item 1 which has 19 columns. To fill missing columns use fill=TRUE.
Backtrace:
▆
1. ├─testthat::capture_warnings(...) at test-01packages_testthat.R:32:3
2. │ └─base::withCallingHandlers(...)
3. ├─testthat::capture_messages(...)
4. │ └─base::withCallingHandlers(...)
5. └─Require::Require(...)
6. └─Require::pkgDep(...)
7. └─Require:::getPkgDeps(...)
8. └─Require:::getDeps(...)
9. └─Require:::getDepsNonGH(...)
10. └─Require:::pkgDepCRAN(...)
11. └─Require:::joinToAvailablePackages(...)
12. └─Require:::available.packagesCached(...)
13. ├─base::do.call(rbind, cap)
14. └─base (local) `<fn>`(binary = `<dt[,19]>`, source = `<dt[,18]>`)
15. └─data.table (local) rbind(deparse.level, ...)
16. └─data.table::rbindlist(l, use.names, fill, idcol, ignore.attr)
── Failure ('test-04other_testthat.R:18:3'): test 4 ────────────────────────────
Expected `any(grepl("could not be installed", warns))` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-04other_testthat.R:26:3'): test 4 ──────────────────────────────
Error in `rbindlist(l, use.names, fill, idcol, ignore.attr)`: Item 2 has 18 columns, inconsistent with item 1 which has 19 columns. To fill missing columns use fill=TRUE.
Backtrace:
▆
1. └─Require::pkgDep("data.table", purge = FALSE) at test-04other_testthat.R:26:3
2. └─Require:::getPkgDeps(...)
3. └─Require:::getDeps(...)
4. └─Require:::getDepsNonGH(...)
5. └─Require:::pkgDepCRAN(...)
6. └─Require:::joinToAvailablePackages(...)
7. └─Require:::available.packagesCached(...)
8. ├─base::do.call(rbind, cap)
9. └─base (local) `<fn>`(binary = `<dt[,19]>`, source = `<dt[,18]>`)
10. └─data.table (local) rbind(deparse.level, ...)
11. └─data.table::rbindlist(l, use.names, fill, idcol, ignore.attr)
[ FAIL 4 | WARN 0 | SKIP 7 | PASS 39 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/7s]
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-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/18s]
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’ [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
Flavor: r-oldrel-macos-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/21s]
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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.