CRAN Package Check Results for Package Require

Last updated on 2026-08-01 13:49:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 15.03 212.59 227.62 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 10.72 166.45 177.17 NOTE
r-devel-linux-x86_64-fedora-clang 2.0.0 29.00 771.68 800.68 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 12.00 277.71 289.71 OK
r-devel-windows-x86_64 2.0.0 18.00 257.00 275.00 OK
r-patched-linux-x86_64 2.0.0 15.90 358.86 374.76 OK
r-release-linux-x86_64 2.0.0 15.78 205.30 221.08 OK
r-release-macos-arm64 2.0.0 5.00 49.00 54.00 ERROR
r-release-macos-x86_64 2.0.0 13.00 126.00 139.00 ERROR
r-release-windows-x86_64 2.0.0 19.00 271.00 290.00 OK
r-oldrel-macos-arm64 2.0.0 3.00 34.00 37.00 ERROR
r-oldrel-macos-x86_64 2.0.0 12.00 131.00 143.00 ERROR
r-oldrel-windows-x86_64 2.0.0 23.00 312.00 335.00 OK

Check Details

Version: 2.0.0
Check: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp1w9uWe’ ‘~/tmp/scratch/Rtmp283wM6’ ‘~/tmp/scratch/Rtmp2kngm8’ ‘~/tmp/scratch/Rtmp32M33r’ ‘~/tmp/scratch/Rtmp3LWV98’ ‘~/tmp/scratch/Rtmp3T9ddR’ ‘~/tmp/scratch/Rtmp3UiqMD’ ‘~/tmp/scratch/Rtmp3YKDT4’ ‘~/tmp/scratch/Rtmp3c730q’ ‘~/tmp/scratch/Rtmp48WUSG’ ‘~/tmp/scratch/Rtmp4YaUeh’ ‘~/tmp/scratch/Rtmp5O1sgA’ ‘~/tmp/scratch/Rtmp5WuFAn’ ‘~/tmp/scratch/Rtmp5dA6jV’ ‘~/tmp/scratch/Rtmp6eBMMh’ ‘~/tmp/scratch/Rtmp72832f’ ‘~/tmp/scratch/Rtmp7UcuTJ’ ‘~/tmp/scratch/Rtmp8AMCGL’ ‘~/tmp/scratch/Rtmp8L4LIl’ ‘~/tmp/scratch/Rtmp8MGL5z’ ‘~/tmp/scratch/Rtmp8NQKsq’ ‘~/tmp/scratch/Rtmp8O18Ui’ ‘~/tmp/scratch/Rtmp91McfS’ ‘~/tmp/scratch/Rtmp93gnNr’ ‘~/tmp/scratch/Rtmp9Jmmzp’ ‘~/tmp/scratch/Rtmp9vxolG’ ‘~/tmp/scratch/RtmpAquqrU’ ‘~/tmp/scratch/RtmpCz2ue4’ ‘~/tmp/scratch/RtmpDF5Dpw’ ‘~/tmp/scratch/RtmpDOMdio’ ‘~/tmp/scratch/RtmpDUSk6i’ ‘~/tmp/scratch/RtmpDYW2iK’ ‘~/tmp/scratch/RtmpFGwNAP’ ‘~/tmp/scratch/RtmpFO0oXg’ ‘~/tmp/scratch/RtmpFPPZ76’ ‘~/tmp/scratch/RtmpFoweb7’ ‘~/tmp/scratch/RtmpGfrwTF’ ‘~/tmp/scratch/RtmpGnbj3n’ ‘~/tmp/scratch/RtmpHEUC6p’ ‘~/tmp/scratch/RtmpHG87Qu’ ‘~/tmp/scratch/RtmpIeANdz’ ‘~/tmp/scratch/RtmpJHCVjP’ ‘~/tmp/scratch/RtmpJlIj8E’ ‘~/tmp/scratch/RtmpJxEMG9’ ‘~/tmp/scratch/RtmpJy2572’ ‘~/tmp/scratch/RtmpK0e8Wf’ ‘~/tmp/scratch/RtmpKawXpU’ ‘~/tmp/scratch/RtmpLJWqx6’ ‘~/tmp/scratch/RtmpLYZl0n’ ‘~/tmp/scratch/RtmpLhN6FR’ ‘~/tmp/scratch/RtmpLjFrq6’ ‘~/tmp/scratch/RtmpM08LBc’ ‘~/tmp/scratch/RtmpMGAnb5’ ‘~/tmp/scratch/RtmpMM4cLh’ ‘~/tmp/scratch/RtmpMn9t3t’ ‘~/tmp/scratch/RtmpNa6VXo’ ‘~/tmp/scratch/RtmpOGtYM8’ ‘~/tmp/scratch/RtmpP1qdGu’ ‘~/tmp/scratch/RtmpPQvt5G’ ‘~/tmp/scratch/RtmpPaDYhb’ ‘~/tmp/scratch/RtmpPf58kA’ ‘~/tmp/scratch/RtmpPsm2uy’ ‘~/tmp/scratch/RtmpQXIDVh’ ‘~/tmp/scratch/RtmpQcAEah’ ‘~/tmp/scratch/RtmpQcFSfW’ ‘~/tmp/scratch/RtmpRnAvp0’ ‘~/tmp/scratch/RtmpRwQaFA’ ‘~/tmp/scratch/RtmpS3RKFy’ ‘~/tmp/scratch/RtmpSJI0qA’ ‘~/tmp/scratch/RtmpSOFXJJ’ ‘~/tmp/scratch/RtmpSxGWx6’ ‘~/tmp/scratch/RtmpTCcP7d’ ‘~/tmp/scratch/RtmpU7w8a3’ ‘~/tmp/scratch/RtmpU8vgaU’ ‘~/tmp/scratch/RtmpVizEGY’ ‘~/tmp/scratch/RtmpWf8d4S’ ‘~/tmp/scratch/RtmpWo4Xya’ ‘~/tmp/scratch/RtmpWrSWJt’ ‘~/tmp/scratch/RtmpXLTBzh’ ‘~/tmp/scratch/RtmpYXxG6A’ ‘~/tmp/scratch/RtmpYrpCU7’ ‘~/tmp/scratch/RtmpZWiWqy’ ‘~/tmp/scratch/RtmpZwXds6’ ‘~/tmp/scratch/RtmpaP7Mj5’ ‘~/tmp/scratch/RtmpavrqGV’ ‘~/tmp/scratch/Rtmpb18jlD’ ‘~/tmp/scratch/RtmpbHKMZW’ ‘~/tmp/scratch/RtmpbMnhVi’ ‘~/tmp/scratch/Rtmpbm0NyT’ ‘~/tmp/scratch/Rtmpc8momd’ ‘~/tmp/scratch/RtmpcJXtk3’ ‘~/tmp/scratch/RtmpcK40kU’ ‘~/tmp/scratch/RtmpcNFpWf’ ‘~/tmp/scratch/RtmpdAirw0’ ‘~/tmp/scratch/RtmpdYHmDi’ ‘~/tmp/scratch/Rtmpdkfz6x’ ‘~/tmp/scratch/Rtmpdz54dT’ ‘~/tmp/scratch/RtmpevjfEl’ ‘~/tmp/scratch/RtmpfRJTp8’ ‘~/tmp/scratch/RtmpfeOCzx’ ‘~/tmp/scratch/Rtmph15ZiB’ ‘~/tmp/scratch/RtmphHANc8’ ‘~/tmp/scratch/RtmphdjJQ4’ ‘~/tmp/scratch/Rtmpi0D8Bq’ ‘~/tmp/scratch/Rtmpj6PvXF’ ‘~/tmp/scratch/Rtmpja5Vp0’ ‘~/tmp/scratch/Rtmpk9reyY’ ‘~/tmp/scratch/RtmpkD2Y2T’ ‘~/tmp/scratch/RtmpkTEpti’ ‘~/tmp/scratch/Rtmpka18Wj’ ‘~/tmp/scratch/RtmplFwS1r’ ‘~/tmp/scratch/RtmplRV4Uh’ ‘~/tmp/scratch/RtmplyXPnp’ ‘~/tmp/scratch/Rtmpm1nsvw’ ‘~/tmp/scratch/RtmpnG4ZHV’ ‘~/tmp/scratch/RtmpnOjSm4’ ‘~/tmp/scratch/RtmpniUyiA’ ‘~/tmp/scratch/Rtmpo1IH5g’ ‘~/tmp/scratch/RtmpoRVFjx’ ‘~/tmp/scratch/RtmpohFJfe’ ‘~/tmp/scratch/RtmpowRB8t’ ‘~/tmp/scratch/Rtmpoz6OiW’ ‘~/tmp/scratch/Rtmpp4pVxc’ ‘~/tmp/scratch/RtmppJDlLR’ ‘~/tmp/scratch/RtmppJK3pG’ ‘~/tmp/scratch/Rtmppjcwh2’ ‘~/tmp/scratch/RtmppmGEAT’ ‘~/tmp/scratch/RtmpptDOHD’ ‘~/tmp/scratch/Rtmpptp6O1’ ‘~/tmp/scratch/Rtmpq7P55T’ ‘~/tmp/scratch/RtmpqOMPLn’ ‘~/tmp/scratch/RtmpqYGRBq’ ‘~/tmp/scratch/RtmprDNoq5’ ‘~/tmp/scratch/RtmprQtKvH’ ‘~/tmp/scratch/RtmprbwBM8’ ‘~/tmp/scratch/RtmprkvX6Q’ ‘~/tmp/scratch/Rtmps41Qs6’ ‘~/tmp/scratch/RtmpsX2PQi’ ‘~/tmp/scratch/RtmpsZBb7l’ ‘~/tmp/scratch/RtmpsdJnH4’ ‘~/tmp/scratch/Rtmpt5tTtY’ ‘~/tmp/scratch/RtmptRJXnx’ ‘~/tmp/scratch/Rtmptg2jSd’ ‘~/tmp/scratch/RtmptjYrsc’ ‘~/tmp/scratch/Rtmpu548cW’ ‘~/tmp/scratch/Rtmpu6IISF’ ‘~/tmp/scratch/RtmpucDsyv’ ‘~/tmp/scratch/Rtmpue0DdA’ ‘~/tmp/scratch/RtmpujTFzy’ ‘~/tmp/scratch/Rtmpuwd1Wp’ ‘~/tmp/scratch/RtmpvE3aAp’ ‘~/tmp/scratch/RtmpvhB832’ ‘~/tmp/scratch/RtmpwFecW8’ ‘~/tmp/scratch/Rtmpy6ezYU’ ‘~/tmp/scratch/RtmpyBlnQd’ ‘~/tmp/scratch/RtmpykWiBf’ ‘~/tmp/scratch/RtmpywYZrj’ ‘~/tmp/scratch/Rtmpz0GACa’ ‘~/tmp/scratch/RtmpzQGCQX’ ‘~/tmp/scratch/Rtmpzpj1jv’ ‘~/tmp/scratch/xvfb-run.21xiCB’ ‘~/tmp/scratch/xvfb-run.4OnLoU’ ‘~/tmp/scratch/xvfb-run.5t4UxN’ ‘~/tmp/scratch/xvfb-run.6AoEoq’ ‘~/tmp/scratch/xvfb-run.6G87UE’ ‘~/tmp/scratch/xvfb-run.6M32Fg’ ‘~/tmp/scratch/xvfb-run.6vTtY1’ ‘~/tmp/scratch/xvfb-run.BbXu1i’ ‘~/tmp/scratch/xvfb-run.BdNnW8’ ‘~/tmp/scratch/xvfb-run.Bj7zEh’ ‘~/tmp/scratch/xvfb-run.EooIgt’ ‘~/tmp/scratch/xvfb-run.Es5u5y’ ‘~/tmp/scratch/xvfb-run.GXGU1e’ ‘~/tmp/scratch/xvfb-run.IB3RQe’ ‘~/tmp/scratch/xvfb-run.JIVx1v’ ‘~/tmp/scratch/xvfb-run.Jt0pWJ’ ‘~/tmp/scratch/xvfb-run.Le44vS’ ‘~/tmp/scratch/xvfb-run.OP2YFa’ ‘~/tmp/scratch/xvfb-run.Pa53e2’ ‘~/tmp/scratch/xvfb-run.PiyB3Y’ ‘~/tmp/scratch/xvfb-run.R5azbh’ ‘~/tmp/scratch/xvfb-run.RCg5iR’ ‘~/tmp/scratch/xvfb-run.RkpbhS’ ‘~/tmp/scratch/xvfb-run.SVLobr’ ‘~/tmp/scratch/xvfb-run.TGHCZ6’ ‘~/tmp/scratch/xvfb-run.VLAt0k’ ‘~/tmp/scratch/xvfb-run.W56f6S’ ‘~/tmp/scratch/xvfb-run.W7T4SZ’ ‘~/tmp/scratch/xvfb-run.XANG8T’ ‘~/tmp/scratch/xvfb-run.Xxb11o’ ‘~/tmp/scratch/xvfb-run.Yk766f’ ‘~/tmp/scratch/xvfb-run.Z9Hhan’ ‘~/tmp/scratch/xvfb-run.ZMh8JY’ ‘~/tmp/scratch/xvfb-run.ZidhT0’ ‘~/tmp/scratch/xvfb-run.ZjxfdE’ ‘~/tmp/scratch/xvfb-run.ZzbdQQ’ ‘~/tmp/scratch/xvfb-run.a1sF5a’ ‘~/tmp/scratch/xvfb-run.aEpNC4’ ‘~/tmp/scratch/xvfb-run.aEq1hg’ ‘~/tmp/scratch/xvfb-run.aeKMj3’ ‘~/tmp/scratch/xvfb-run.ayQccV’ ‘~/tmp/scratch/xvfb-run.bVAmnJ’ ‘~/tmp/scratch/xvfb-run.bre0A7’ ‘~/tmp/scratch/xvfb-run.cVx3k1’ ‘~/tmp/scratch/xvfb-run.cfbZ3i’ ‘~/tmp/scratch/xvfb-run.ds2ulQ’ ‘~/tmp/scratch/xvfb-run.dvfrCL’ ‘~/tmp/scratch/xvfb-run.f7OdWe’ ‘~/tmp/scratch/xvfb-run.gCTjpI’ ‘~/tmp/scratch/xvfb-run.goMyNl’ ‘~/tmp/scratch/xvfb-run.gx2GZd’ ‘~/tmp/scratch/xvfb-run.hXZzJS’ ‘~/tmp/scratch/xvfb-run.i91wbg’ ‘~/tmp/scratch/xvfb-run.jHsjyD’ ‘~/tmp/scratch/xvfb-run.l4vRGg’ ‘~/tmp/scratch/xvfb-run.lUQWW5’ ‘~/tmp/scratch/xvfb-run.mAgav2’ ‘~/tmp/scratch/xvfb-run.mI8TpZ’ ‘~/tmp/scratch/xvfb-run.mPfnqe’ ‘~/tmp/scratch/xvfb-run.mk3x62’ ‘~/tmp/scratch/xvfb-run.n4BQvA’ ‘~/tmp/scratch/xvfb-run.oiV1KL’ ‘~/tmp/scratch/xvfb-run.q6YAqw’ ‘~/tmp/scratch/xvfb-run.rELASH’ ‘~/tmp/scratch/xvfb-run.rP1PdR’ ‘~/tmp/scratch/xvfb-run.rTQO47’ ‘~/tmp/scratch/xvfb-run.sBZo9m’ ‘~/tmp/scratch/xvfb-run.sZpuyt’ ‘~/tmp/scratch/xvfb-run.ug1J8I’ ‘~/tmp/scratch/xvfb-run.ukD2Mq’ ‘~/tmp/scratch/xvfb-run.wZ9e8M’ ‘~/tmp/scratch/xvfb-run.wgCcGB’ ‘~/tmp/scratch/xvfb-run.yE6urK’ ‘~/tmp/scratch/xvfb-run.yelJPt’ ‘~/tmp/scratch/xvfb-run.z427Ru’ ‘~/tmp/scratch/xvfb-run.znsanS’ ‘/dev/shm/sm_segment.gimli1.1001.13510000.0’ ‘/dev/shm/sm_segment.gimli1.1001.1e8e0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.27080000.0’ ‘/dev/shm/sm_segment.gimli1.1001.433c0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.441d0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.4c440000.0’ ‘/dev/shm/sm_segment.gimli1.1001.530d0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.625c0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.783f0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.851f0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.8d1a0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.8f420000.0’ ‘/dev/shm/sm_segment.gimli1.1001.92a20000.0’ ‘/dev/shm/sm_segment.gimli1.1001.92e00000.0’ ‘/dev/shm/sm_segment.gimli1.1001.9e7b0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.b8dc0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.baeb0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.c5810000.0’ ‘/dev/shm/sm_segment.gimli1.1001.d4db0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.dbb60000.0’ ‘/dev/shm/sm_segment.gimli1.1001.de9a0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.e930000.0’ ‘/dev/shm/sm_segment.gimli1.1001.eac70000.0’ ‘~/.cache/pocl/uncached/tempfile_05MFm7’ ‘~/.cache/pocl/uncached/tempfile_5XzKIS’ ‘~/.cache/pocl/uncached/tempfile_6fuTxQ’ ‘~/.cache/pocl/uncached/tempfile_7CGBNp’ ‘~/.cache/pocl/uncached/tempfile_DHUwpg’ ‘~/.cache/pocl/uncached/tempfile_GFtxiP’ ‘~/.cache/pocl/uncached/tempfile_LInNcs’ ‘~/.cache/pocl/uncached/tempfile_LnCKkl’ ‘~/.cache/pocl/uncached/tempfile_O3SodK’ ‘~/.cache/pocl/uncached/tempfile_Py2lWk’ ‘~/.cache/pocl/uncached/tempfile_Rp1leS’ ‘~/.cache/pocl/uncached/tempfile_Wwo1Eq’ ‘~/.cache/pocl/uncached/tempfile_XncPnJ’ ‘~/.cache/pocl/uncached/tempfile_ZUcDNk’ ‘~/.cache/pocl/uncached/tempfile_g0R6m4’ ‘~/.cache/pocl/uncached/tempfile_ihM1MJ’ ‘~/.cache/pocl/uncached/tempfile_lImfnD’ ‘~/.cache/pocl/uncached/tempfile_mjbeGG’ ‘~/.cache/pocl/uncached/tempfile_pQ91gs’ ‘~/.cache/pocl/uncached/tempfile_tHGLUd’ ‘~/.cache/pocl/uncached/tempfile_wX6JOV’ ‘~/.cache/pocl/uncached/tempfile_y76oLu’ ‘~/.cache/pocl/uncached/tempfile_zGuouL’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/6s] 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/10s] 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’ [2s/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/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-oldrel-macos-x86_64