CRAN Package Check Results for Package Require

Last updated on 2026-08-02 03:50:56 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 9.71 158.37 168.08 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.79 205.45 221.24 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 35.00 38.00 ERROR
r-oldrel-macos-x86_64 2.0.0 12.00 126.00 138.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/Rtmp0DVgxY’ ‘~/tmp/scratch/Rtmp0MftjJ’ ‘~/tmp/scratch/Rtmp14bZcb’ ‘~/tmp/scratch/Rtmp1B9TDV’ ‘~/tmp/scratch/Rtmp1RHTrq’ ‘~/tmp/scratch/Rtmp22NaJY’ ‘~/tmp/scratch/Rtmp2ZRAE0’ ‘~/tmp/scratch/Rtmp2arkgP’ ‘~/tmp/scratch/Rtmp2n9SwR’ ‘~/tmp/scratch/Rtmp3CPfSx’ ‘~/tmp/scratch/Rtmp3cGpxY’ ‘~/tmp/scratch/Rtmp3dKByF’ ‘~/tmp/scratch/Rtmp4tHvGk’ ‘~/tmp/scratch/Rtmp59Ix95’ ‘~/tmp/scratch/Rtmp5sCaQD’ ‘~/tmp/scratch/Rtmp6UasZQ’ ‘~/tmp/scratch/Rtmp6Y5mwe’ ‘~/tmp/scratch/Rtmp6fnCMV’ ‘~/tmp/scratch/Rtmp6uou1m’ ‘~/tmp/scratch/Rtmp8c7yo8’ ‘~/tmp/scratch/Rtmp8yZZOB’ ‘~/tmp/scratch/Rtmp9mFQT6’ ‘~/tmp/scratch/Rtmp9pMNXj’ ‘~/tmp/scratch/RtmpAhA64C’ ‘~/tmp/scratch/RtmpAl0RiM’ ‘~/tmp/scratch/RtmpBYIaW6’ ‘~/tmp/scratch/RtmpBiTaAu’ ‘~/tmp/scratch/RtmpBxJrC8’ ‘~/tmp/scratch/RtmpDFNBug’ ‘~/tmp/scratch/RtmpDFPmXX’ ‘~/tmp/scratch/RtmpDLOJoV’ ‘~/tmp/scratch/RtmpDxO5Yx’ ‘~/tmp/scratch/RtmpE1Ar2j’ ‘~/tmp/scratch/RtmpE4tjad’ ‘~/tmp/scratch/RtmpEX0R9j’ ‘~/tmp/scratch/RtmpEpDuK6’ ‘~/tmp/scratch/RtmpF64j7k’ ‘~/tmp/scratch/RtmpFZdka5’ ‘~/tmp/scratch/RtmpFZmZY2’ ‘~/tmp/scratch/RtmpFhkTNQ’ ‘~/tmp/scratch/RtmpFm4G5o’ ‘~/tmp/scratch/RtmpG8nk8g’ ‘~/tmp/scratch/RtmpGTGN0X’ ‘~/tmp/scratch/RtmpGV8DDs’ ‘~/tmp/scratch/RtmpGao8Ry’ ‘~/tmp/scratch/RtmpGtj4rL’ ‘~/tmp/scratch/RtmpH1nZGD’ ‘~/tmp/scratch/RtmpHBWBWK’ ‘~/tmp/scratch/RtmpHMuvTI’ ‘~/tmp/scratch/RtmpHzvUSU’ ‘~/tmp/scratch/RtmpIEzwXi’ ‘~/tmp/scratch/RtmpIlKwb2’ ‘~/tmp/scratch/RtmpJMLYgQ’ ‘~/tmp/scratch/RtmpJpj1vr’ ‘~/tmp/scratch/RtmpKAhCc5’ ‘~/tmp/scratch/RtmpKXeCoY’ ‘~/tmp/scratch/RtmpKg3oyp’ ‘~/tmp/scratch/RtmpLGXb2O’ ‘~/tmp/scratch/RtmpLVJdBw’ ‘~/tmp/scratch/RtmpLb6OUD’ ‘~/tmp/scratch/RtmpLv00Zj’ ‘~/tmp/scratch/RtmpLzOlOh’ ‘~/tmp/scratch/RtmpMXsdvw’ ‘~/tmp/scratch/RtmpMZkuyc’ ‘~/tmp/scratch/RtmpMcun3Z’ ‘~/tmp/scratch/RtmpMo8IXZ’ ‘~/tmp/scratch/RtmpMwdrhl’ ‘~/tmp/scratch/RtmpN1MhFL’ ‘~/tmp/scratch/RtmpNCL03U’ ‘~/tmp/scratch/RtmpNHA5bE’ ‘~/tmp/scratch/RtmpOKWynM’ ‘~/tmp/scratch/RtmpPILHo2’ ‘~/tmp/scratch/RtmpPSqPOK’ ‘~/tmp/scratch/RtmpPafEwm’ ‘~/tmp/scratch/RtmpPy3O5C’ ‘~/tmp/scratch/RtmpQQilZN’ ‘~/tmp/scratch/RtmpQbs7PZ’ ‘~/tmp/scratch/RtmpRR6Bgj’ ‘~/tmp/scratch/RtmpS664fv’ ‘~/tmp/scratch/RtmpSRh78t’ ‘~/tmp/scratch/RtmpSmc0wW’ ‘~/tmp/scratch/RtmpT6dPDw’ ‘~/tmp/scratch/RtmpUOYcqP’ ‘~/tmp/scratch/RtmpUamR4f’ ‘~/tmp/scratch/RtmpUvkM69’ ‘~/tmp/scratch/RtmpVnUckR’ ‘~/tmp/scratch/RtmpW9D1GS’ ‘~/tmp/scratch/RtmpWJL0zz’ ‘~/tmp/scratch/RtmpWWGDGL’ ‘~/tmp/scratch/RtmpXCQrxI’ ‘~/tmp/scratch/RtmpY9EaPJ’ ‘~/tmp/scratch/RtmpYQY5KU’ ‘~/tmp/scratch/RtmpYfd2zR’ ‘~/tmp/scratch/RtmpYku9oy’ ‘~/tmp/scratch/RtmpZwNoPN’ ‘~/tmp/scratch/Rtmpa6Upo5’ ‘~/tmp/scratch/RtmpaBCgE4’ ‘~/tmp/scratch/Rtmpb5bTEr’ ‘~/tmp/scratch/RtmpbKQa8A’ ‘~/tmp/scratch/RtmpbNsPZi’ ‘~/tmp/scratch/RtmpbP1YIH’ ‘~/tmp/scratch/RtmpbT8y8x’ ‘~/tmp/scratch/RtmpcEM8rL’ ‘~/tmp/scratch/RtmpcONIof’ ‘~/tmp/scratch/RtmpdLcrrO’ ‘~/tmp/scratch/Rtmpe2XJTu’ ‘~/tmp/scratch/Rtmpe3DJ80’ ‘~/tmp/scratch/RtmpfQkSMl’ ‘~/tmp/scratch/RtmpgMfjO9’ ‘~/tmp/scratch/RtmpggtqKG’ ‘~/tmp/scratch/Rtmph4Gl9q’ ‘~/tmp/scratch/RtmphH82br’ ‘~/tmp/scratch/RtmphH9wjw’ ‘~/tmp/scratch/Rtmphp07Lm’ ‘~/tmp/scratch/RtmphqyAkc’ ‘~/tmp/scratch/Rtmpi4PJWp’ ‘~/tmp/scratch/Rtmpi8uwCS’ ‘~/tmp/scratch/RtmpiJqAkZ’ ‘~/tmp/scratch/RtmpiqJSF8’ ‘~/tmp/scratch/RtmpjIjEN5’ ‘~/tmp/scratch/RtmpjOZM7n’ ‘~/tmp/scratch/RtmpjVvIiw’ ‘~/tmp/scratch/RtmpjvHlhZ’ ‘~/tmp/scratch/Rtmpkowdac’ ‘~/tmp/scratch/RtmplYg2my’ ‘~/tmp/scratch/Rtmplrl94V’ ‘~/tmp/scratch/RtmpmLGj5X’ ‘~/tmp/scratch/RtmpmksN8Y’ ‘~/tmp/scratch/RtmpnFvkiu’ ‘~/tmp/scratch/RtmpnNqdIs’ ‘~/tmp/scratch/RtmpocATuD’ ‘~/tmp/scratch/RtmpogM8z6’ ‘~/tmp/scratch/RtmpohEZ4Y’ ‘~/tmp/scratch/Rtmpp8Pd48’ ‘~/tmp/scratch/Rtmpprozg6’ ‘~/tmp/scratch/RtmpqBeIZu’ ‘~/tmp/scratch/RtmpqETBrz’ ‘~/tmp/scratch/RtmpqJNX4N’ ‘~/tmp/scratch/RtmpqnwBfn’ ‘~/tmp/scratch/RtmpqpRyUp’ ‘~/tmp/scratch/RtmpqsZlbv’ ‘~/tmp/scratch/Rtmpr5MDBv’ ‘~/tmp/scratch/RtmprI4bEI’ ‘~/tmp/scratch/RtmprrVzMx’ ‘~/tmp/scratch/Rtmps4zOig’ ‘~/tmp/scratch/RtmpsFxr0S’ ‘~/tmp/scratch/RtmpsawpfH’ ‘~/tmp/scratch/RtmptaJ7RP’ ‘~/tmp/scratch/RtmptntVI1’ ‘~/tmp/scratch/RtmptpsBnO’ ‘~/tmp/scratch/Rtmpu0SQ1M’ ‘~/tmp/scratch/RtmpuNkf0z’ ‘~/tmp/scratch/RtmpunhROl’ ‘~/tmp/scratch/RtmpvzGCTR’ ‘~/tmp/scratch/RtmpxG5Phk’ ‘~/tmp/scratch/RtmpxUq2L7’ ‘~/tmp/scratch/RtmpyT5PmM’ ‘~/tmp/scratch/RtmpyxoCpX’ ‘~/tmp/scratch/RtmpzXYJ0h’ ‘~/tmp/scratch/RtmpzlMxOM’ ‘~/tmp/scratch/RtmpzxHPa9’ ‘~/tmp/scratch/xvfb-run.09oYHE’ ‘~/tmp/scratch/xvfb-run.1m2oKb’ ‘~/tmp/scratch/xvfb-run.21ideg’ ‘~/tmp/scratch/xvfb-run.3ZgUB6’ ‘~/tmp/scratch/xvfb-run.3vqSHu’ ‘~/tmp/scratch/xvfb-run.6NdqHo’ ‘~/tmp/scratch/xvfb-run.6lUTy7’ ‘~/tmp/scratch/xvfb-run.7k0GdD’ ‘~/tmp/scratch/xvfb-run.8S9RyL’ ‘~/tmp/scratch/xvfb-run.ATpjd0’ ‘~/tmp/scratch/xvfb-run.B0oAAC’ ‘~/tmp/scratch/xvfb-run.BP5nny’ ‘~/tmp/scratch/xvfb-run.CBuhL0’ ‘~/tmp/scratch/xvfb-run.CFBwHC’ ‘~/tmp/scratch/xvfb-run.E7GxJ5’ ‘~/tmp/scratch/xvfb-run.FyhtIt’ ‘~/tmp/scratch/xvfb-run.Gl16bN’ ‘~/tmp/scratch/xvfb-run.GlTz0r’ ‘~/tmp/scratch/xvfb-run.JXv6Y6’ ‘~/tmp/scratch/xvfb-run.KRTUGL’ ‘~/tmp/scratch/xvfb-run.Kl3oaU’ ‘~/tmp/scratch/xvfb-run.Lyw20W’ ‘~/tmp/scratch/xvfb-run.Nf2eJw’ ‘~/tmp/scratch/xvfb-run.OLpCb6’ ‘~/tmp/scratch/xvfb-run.OveYOY’ ‘~/tmp/scratch/xvfb-run.RT2Su4’ ‘~/tmp/scratch/xvfb-run.RwYQ0m’ ‘~/tmp/scratch/xvfb-run.SSLKvP’ ‘~/tmp/scratch/xvfb-run.ST1xQd’ ‘~/tmp/scratch/xvfb-run.T9l5cl’ ‘~/tmp/scratch/xvfb-run.Ujn4ig’ ‘~/tmp/scratch/xvfb-run.VZIa3h’ ‘~/tmp/scratch/xvfb-run.WXYcQc’ ‘~/tmp/scratch/xvfb-run.Y3YyUg’ ‘~/tmp/scratch/xvfb-run.Y56y4N’ ‘~/tmp/scratch/xvfb-run.YaFgrv’ ‘~/tmp/scratch/xvfb-run.a2c0ek’ ‘~/tmp/scratch/xvfb-run.azytpL’ ‘~/tmp/scratch/xvfb-run.czWbhM’ ‘~/tmp/scratch/xvfb-run.dNCCxX’ ‘~/tmp/scratch/xvfb-run.dWQM76’ ‘~/tmp/scratch/xvfb-run.dacHxs’ ‘~/tmp/scratch/xvfb-run.dfprQk’ ‘~/tmp/scratch/xvfb-run.dk0AV9’ ‘~/tmp/scratch/xvfb-run.e1KU5i’ ‘~/tmp/scratch/xvfb-run.e6lTZR’ ‘~/tmp/scratch/xvfb-run.jBbJHb’ ‘~/tmp/scratch/xvfb-run.kfClcn’ ‘~/tmp/scratch/xvfb-run.mPNftA’ ‘~/tmp/scratch/xvfb-run.mrdL2r’ ‘~/tmp/scratch/xvfb-run.n0uEEC’ ‘~/tmp/scratch/xvfb-run.nfBUSy’ ‘~/tmp/scratch/xvfb-run.oCygu0’ ‘~/tmp/scratch/xvfb-run.oNZPWI’ ‘~/tmp/scratch/xvfb-run.pVH2L8’ ‘~/tmp/scratch/xvfb-run.plTHM4’ ‘~/tmp/scratch/xvfb-run.pspp6j’ ‘~/tmp/scratch/xvfb-run.qAMTvt’ ‘~/tmp/scratch/xvfb-run.qY4Inw’ ‘~/tmp/scratch/xvfb-run.qdzYo8’ ‘~/tmp/scratch/xvfb-run.rA1Yov’ ‘~/tmp/scratch/xvfb-run.rt25Qt’ ‘~/tmp/scratch/xvfb-run.siyOxh’ ‘~/tmp/scratch/xvfb-run.t6W49s’ ‘~/tmp/scratch/xvfb-run.tGs1fp’ ‘~/tmp/scratch/xvfb-run.tXrrFB’ ‘~/tmp/scratch/xvfb-run.u28RRD’ ‘~/tmp/scratch/xvfb-run.ugUWJB’ ‘~/tmp/scratch/xvfb-run.vDZk4W’ ‘~/tmp/scratch/xvfb-run.vMKvg6’ ‘~/tmp/scratch/xvfb-run.vPy2ES’ ‘~/tmp/scratch/xvfb-run.vTYVGP’ ‘~/tmp/scratch/xvfb-run.vfTrZX’ ‘~/tmp/scratch/xvfb-run.wDAW5f’ ‘~/tmp/scratch/xvfb-run.yJjePn’ ‘~/tmp/scratch/xvfb-run.zkoj8E’ ‘~/tmp/scratch/xvfb-run.zp2RCc’ ‘/dev/shm/sm_segment.gimli1.1001.11c60000.0’ ‘/dev/shm/sm_segment.gimli1.1001.1e4c0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.20ab0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.2b370000.0’ ‘/dev/shm/sm_segment.gimli1.1001.39900000.0’ ‘/dev/shm/sm_segment.gimli1.1001.46e80000.0’ ‘/dev/shm/sm_segment.gimli1.1001.55760000.0’ ‘/dev/shm/sm_segment.gimli1.1001.60ba0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.64220000.0’ ‘/dev/shm/sm_segment.gimli1.1001.71880000.0’ ‘/dev/shm/sm_segment.gimli1.1001.85e90000.0’ ‘/dev/shm/sm_segment.gimli1.1001.9b340000.0’ ‘/dev/shm/sm_segment.gimli1.1001.9fd90000.0’ ‘/dev/shm/sm_segment.gimli1.1001.a4f20000.0’ ‘/dev/shm/sm_segment.gimli1.1001.a9c40000.0’ ‘/dev/shm/sm_segment.gimli1.1001.bac80000.0’ ‘/dev/shm/sm_segment.gimli1.1001.bb4e0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.bc9e0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.be550000.0’ ‘/dev/shm/sm_segment.gimli1.1001.c3d90000.0’ ‘/dev/shm/sm_segment.gimli1.1001.c9e70000.0’ ‘/dev/shm/sm_segment.gimli1.1001.cd9d0000.0’ ‘/dev/shm/sm_segment.gimli1.1001.d0c50000.0’ ‘~/.cache/pocl/uncached/tempfile_0keyiP’ ‘~/.cache/pocl/uncached/tempfile_2Yi0nn’ ‘~/.cache/pocl/uncached/tempfile_3wxxYg’ ‘~/.cache/pocl/uncached/tempfile_5XnTUR’ ‘~/.cache/pocl/uncached/tempfile_5kvXVn’ ‘~/.cache/pocl/uncached/tempfile_6xkTie’ ‘~/.cache/pocl/uncached/tempfile_7yz1DX’ ‘~/.cache/pocl/uncached/tempfile_8ZFwmU’ ‘~/.cache/pocl/uncached/tempfile_8qfA2Q’ ‘~/.cache/pocl/uncached/tempfile_AN7jts’ ‘~/.cache/pocl/uncached/tempfile_CUwPOE’ ‘~/.cache/pocl/uncached/tempfile_Cpzh24’ ‘~/.cache/pocl/uncached/tempfile_F028pr’ ‘~/.cache/pocl/uncached/tempfile_IXIaRY’ ‘~/.cache/pocl/uncached/tempfile_IiDUZ1’ ‘~/.cache/pocl/uncached/tempfile_J63tk4’ ‘~/.cache/pocl/uncached/tempfile_LZHKH7’ ‘~/.cache/pocl/uncached/tempfile_RyBQ9T’ ‘~/.cache/pocl/uncached/tempfile_VPY1vQ’ ‘~/.cache/pocl/uncached/tempfile_WabuRb’ ‘~/.cache/pocl/uncached/tempfile_gUTra7’ ‘~/.cache/pocl/uncached/tempfile_j1t2J6’ ‘~/.cache/pocl/uncached/tempfile_ypTdPV’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/8s] 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