Last updated on 2026-08-03 23:51:05 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.45 | 154.11 | 164.56 | 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 | 4.00 | 30.00 | 34.00 | ERROR | |
| r-release-macos-x86_64 | 2.0.0 | 13.00 | 129.00 | 142.00 | ERROR | |
| r-release-windows-x86_64 | 2.0.0 | 19.00 | 271.00 | 290.00 | OK | |
| r-oldrel-macos-arm64 | 2.0.0 | 4.00 | 35.00 | 39.00 | ERROR | |
| r-oldrel-macos-x86_64 | 2.0.0 | 11.00 | 113.00 | 124.00 | ERROR | |
| r-oldrel-windows-x86_64 | 2.0.0 | 27.00 | 313.00 | 340.00 | OK |
Version: 2.0.0
Check: for new files in some other directories
Result: NOTE
Found the following files/directories:
‘~/tmp/scratch/Rtmp0MOl8i’ ‘~/tmp/scratch/Rtmp0bP9a8’
‘~/tmp/scratch/Rtmp0fWVZP’ ‘~/tmp/scratch/Rtmp0hHHg7’
‘~/tmp/scratch/Rtmp0yYA07’ ‘~/tmp/scratch/Rtmp1NTXYa’
‘~/tmp/scratch/Rtmp1jtiJk’ ‘~/tmp/scratch/Rtmp23TZJn’
‘~/tmp/scratch/Rtmp4497M0’ ‘~/tmp/scratch/Rtmp45Funj’
‘~/tmp/scratch/Rtmp4NyEex’ ‘~/tmp/scratch/Rtmp4SgonI’
‘~/tmp/scratch/Rtmp4ZVJqk’ ‘~/tmp/scratch/Rtmp5JrGdm’
‘~/tmp/scratch/Rtmp5NYHNI’ ‘~/tmp/scratch/Rtmp5UeLzd’
‘~/tmp/scratch/Rtmp608YRD’ ‘~/tmp/scratch/Rtmp6nadeI’
‘~/tmp/scratch/Rtmp7y9Y1K’ ‘~/tmp/scratch/Rtmp8285eU’
‘~/tmp/scratch/Rtmp8AYtWp’ ‘~/tmp/scratch/Rtmp8Yrlvu’
‘~/tmp/scratch/Rtmp8hRF2v’ ‘~/tmp/scratch/Rtmp91OKPd’
‘~/tmp/scratch/Rtmp9FllOX’ ‘~/tmp/scratch/Rtmp9JOPPI’
‘~/tmp/scratch/Rtmp9PeuSV’ ‘~/tmp/scratch/Rtmp9WghiN’
‘~/tmp/scratch/RtmpA0aTIr’ ‘~/tmp/scratch/RtmpA2aAdU’
‘~/tmp/scratch/RtmpAxOmnl’ ‘~/tmp/scratch/RtmpC7V8xt’
‘~/tmp/scratch/RtmpDcqVqE’ ‘~/tmp/scratch/RtmpDsxySi’
‘~/tmp/scratch/RtmpE9yxw5’ ‘~/tmp/scratch/RtmpEOV4L6’
‘~/tmp/scratch/RtmpEivnAu’ ‘~/tmp/scratch/RtmpEvpiCY’
‘~/tmp/scratch/RtmpEz4FeG’ ‘~/tmp/scratch/RtmpEzg5mm’
‘~/tmp/scratch/RtmpFAxHRR’ ‘~/tmp/scratch/RtmpH1yu65’
‘~/tmp/scratch/RtmpHnUV1L’ ‘~/tmp/scratch/RtmpHpsj6k’
‘~/tmp/scratch/RtmpHr6XRV’ ‘~/tmp/scratch/RtmpIOPzqg’
‘~/tmp/scratch/RtmpJZR9qB’ ‘~/tmp/scratch/RtmpKjGt6b’
‘~/tmp/scratch/RtmpMFtYF7’ ‘~/tmp/scratch/RtmpMM2tgA’
‘~/tmp/scratch/RtmpMiPbTB’ ‘~/tmp/scratch/RtmpMt6ehB’
‘~/tmp/scratch/RtmpNnBpE1’ ‘~/tmp/scratch/RtmpNoMI86’
‘~/tmp/scratch/RtmpNtIPyI’ ‘~/tmp/scratch/RtmpNvYcxD’
‘~/tmp/scratch/RtmpOKgj6l’ ‘~/tmp/scratch/RtmpOMHCQ5’
‘~/tmp/scratch/RtmpOheXoE’ ‘~/tmp/scratch/RtmpOpu57S’
‘~/tmp/scratch/RtmpQ3KMCz’ ‘~/tmp/scratch/RtmpQWJUsX’
‘~/tmp/scratch/RtmpR7GMZA’ ‘~/tmp/scratch/RtmpRBSaKb’
‘~/tmp/scratch/RtmpRvLM79’ ‘~/tmp/scratch/RtmpSB7yy4’
‘~/tmp/scratch/RtmpSb90bh’ ‘~/tmp/scratch/RtmpSun5Ur’
‘~/tmp/scratch/RtmpTB4tjf’ ‘~/tmp/scratch/RtmpTx5Sld’
‘~/tmp/scratch/RtmpU33dUp’ ‘~/tmp/scratch/RtmpUSUo8N’
‘~/tmp/scratch/RtmpUli6Zk’ ‘~/tmp/scratch/RtmpUvqYPd’
‘~/tmp/scratch/RtmpVD5PUu’ ‘~/tmp/scratch/RtmpVI75AB’
‘~/tmp/scratch/RtmpVm9Jzl’ ‘~/tmp/scratch/RtmpW0BQyX’
‘~/tmp/scratch/RtmpWKCKxp’ ‘~/tmp/scratch/RtmpWMRe6Y’
‘~/tmp/scratch/RtmpX39Lmz’ ‘~/tmp/scratch/RtmpXPgWke’
‘~/tmp/scratch/RtmpXuDwUP’ ‘~/tmp/scratch/RtmpXvDkSN’
‘~/tmp/scratch/RtmpYchRV3’ ‘~/tmp/scratch/RtmpZe0Eh6’
‘~/tmp/scratch/Rtmpat5v5d’ ‘~/tmp/scratch/RtmpbaiWNj’
‘~/tmp/scratch/RtmpbjNjgJ’ ‘~/tmp/scratch/Rtmpc9XPH8’
‘~/tmp/scratch/Rtmpcs8QWF’ ‘~/tmp/scratch/RtmpdGkrol’
‘~/tmp/scratch/RtmpdWg5dj’ ‘~/tmp/scratch/RtmpddGu9p’
‘~/tmp/scratch/RtmpdohWe1’ ‘~/tmp/scratch/RtmpeDJclv’
‘~/tmp/scratch/RtmpeLHdEa’ ‘~/tmp/scratch/Rtmpewdj2f’
‘~/tmp/scratch/RtmpfCNIeI’ ‘~/tmp/scratch/RtmpfG9dT1’
‘~/tmp/scratch/RtmpfK6d9U’ ‘~/tmp/scratch/RtmpftLaMR’
‘~/tmp/scratch/Rtmpg5eBSG’ ‘~/tmp/scratch/RtmpgvaTY4’
‘~/tmp/scratch/Rtmph18N3p’ ‘~/tmp/scratch/RtmphdidKx’
‘~/tmp/scratch/RtmpiNeWRX’ ‘~/tmp/scratch/RtmpijKBf1’
‘~/tmp/scratch/RtmpimttgE’ ‘~/tmp/scratch/RtmpjSMomX’
‘~/tmp/scratch/RtmpjqPYqI’ ‘~/tmp/scratch/Rtmpk9TbuC’
‘~/tmp/scratch/RtmpkPhsff’ ‘~/tmp/scratch/RtmpkzLPB1’
‘~/tmp/scratch/Rtmpl2naVS’ ‘~/tmp/scratch/Rtmplcq7bT’
‘~/tmp/scratch/RtmpmVSGj6’ ‘~/tmp/scratch/Rtmpmkv6Kh’
‘~/tmp/scratch/RtmpmnSscu’ ‘~/tmp/scratch/Rtmpmz3f4j’
‘~/tmp/scratch/RtmpnJ2lRO’ ‘~/tmp/scratch/RtmpnSfevv’
‘~/tmp/scratch/RtmpnUijDa’ ‘~/tmp/scratch/RtmpoEVTGm’
‘~/tmp/scratch/RtmpoZO2Ve’ ‘~/tmp/scratch/RtmpopV63x’
‘~/tmp/scratch/Rtmpoze2mp’ ‘~/tmp/scratch/Rtmpp9LR0s’
‘~/tmp/scratch/Rtmpq7bJl4’ ‘~/tmp/scratch/RtmprnIMh0’
‘~/tmp/scratch/RtmpstpnXn’ ‘~/tmp/scratch/Rtmpt3U5Dw’
‘~/tmp/scratch/Rtmpu5XH9B’ ‘~/tmp/scratch/RtmpuEVZhk’
‘~/tmp/scratch/RtmpuGX9CF’ ‘~/tmp/scratch/RtmpufYHwX’
‘~/tmp/scratch/RtmpupJQUa’ ‘~/tmp/scratch/Rtmpv12mu4’
‘~/tmp/scratch/RtmpvOItJ8’ ‘~/tmp/scratch/RtmpvUyrRq’
‘~/tmp/scratch/RtmpvVDa2T’ ‘~/tmp/scratch/RtmpvVm15U’
‘~/tmp/scratch/RtmpvZXn9w’ ‘~/tmp/scratch/RtmpvfEsVS’
‘~/tmp/scratch/RtmpwTpNiM’ ‘~/tmp/scratch/RtmpwWXIkh’
‘~/tmp/scratch/RtmpwsfQcU’ ‘~/tmp/scratch/RtmpwuarrD’
‘~/tmp/scratch/Rtmpx7c2WD’ ‘~/tmp/scratch/Rtmpy7Lli9’
‘~/tmp/scratch/RtmpyYB7ZZ’ ‘~/tmp/scratch/Rtmpyb4gHf’
‘~/tmp/scratch/RtmpzJglXT’ ‘~/tmp/scratch/RtmpzPWShD’
‘~/tmp/scratch/RtmpzULb4M’ ‘~/tmp/scratch/xvfb-run.1Pto7h’
‘~/tmp/scratch/xvfb-run.1V4cG5’ ‘~/tmp/scratch/xvfb-run.2emwdS’
‘~/tmp/scratch/xvfb-run.3HyCA5’ ‘~/tmp/scratch/xvfb-run.3wj7pA’
‘~/tmp/scratch/xvfb-run.5UukqJ’ ‘~/tmp/scratch/xvfb-run.60dSuG’
‘~/tmp/scratch/xvfb-run.7ScSWQ’ ‘~/tmp/scratch/xvfb-run.7TrREw’
‘~/tmp/scratch/xvfb-run.8nIVhD’ ‘~/tmp/scratch/xvfb-run.AOTyry’
‘~/tmp/scratch/xvfb-run.ATWjjQ’ ‘~/tmp/scratch/xvfb-run.Aop8t8’
‘~/tmp/scratch/xvfb-run.Arusj2’ ‘~/tmp/scratch/xvfb-run.COUW8F’
‘~/tmp/scratch/xvfb-run.CaGAzf’ ‘~/tmp/scratch/xvfb-run.Cbjsmh’
‘~/tmp/scratch/xvfb-run.DVHp1Y’ ‘~/tmp/scratch/xvfb-run.E33U5Z’
‘~/tmp/scratch/xvfb-run.FlxqVQ’ ‘~/tmp/scratch/xvfb-run.Fq1azk’
‘~/tmp/scratch/xvfb-run.HG1C3j’ ‘~/tmp/scratch/xvfb-run.I3QisE’
‘~/tmp/scratch/xvfb-run.JKvH84’ ‘~/tmp/scratch/xvfb-run.JgNihA’
‘~/tmp/scratch/xvfb-run.KG0Sxz’ ‘~/tmp/scratch/xvfb-run.KH5iJj’
‘~/tmp/scratch/xvfb-run.KMJd4W’ ‘~/tmp/scratch/xvfb-run.KXNHsC’
‘~/tmp/scratch/xvfb-run.LaMoFT’ ‘~/tmp/scratch/xvfb-run.M3QgTg’
‘~/tmp/scratch/xvfb-run.O9Cjey’ ‘~/tmp/scratch/xvfb-run.QfcTmk’
‘~/tmp/scratch/xvfb-run.QkaNsy’ ‘~/tmp/scratch/xvfb-run.QxeQhJ’
‘~/tmp/scratch/xvfb-run.SIBtdg’ ‘~/tmp/scratch/xvfb-run.SUAcWn’
‘~/tmp/scratch/xvfb-run.SZD6OF’ ‘~/tmp/scratch/xvfb-run.T91jCk’
‘~/tmp/scratch/xvfb-run.TgyXYa’ ‘~/tmp/scratch/xvfb-run.TnOBFh’
‘~/tmp/scratch/xvfb-run.Toyg2T’ ‘~/tmp/scratch/xvfb-run.UOmFV4’
‘~/tmp/scratch/xvfb-run.Y5pHE5’ ‘~/tmp/scratch/xvfb-run.Z2Edrt’
‘~/tmp/scratch/xvfb-run.ZUVE6R’ ‘~/tmp/scratch/xvfb-run.cWfQqD’
‘~/tmp/scratch/xvfb-run.dxJuSn’ ‘~/tmp/scratch/xvfb-run.fFiwLA’
‘~/tmp/scratch/xvfb-run.gGlDgU’ ‘~/tmp/scratch/xvfb-run.hDtOPF’
‘~/tmp/scratch/xvfb-run.hONRfB’ ‘~/tmp/scratch/xvfb-run.hqNymC’
‘~/tmp/scratch/xvfb-run.izrHPC’ ‘~/tmp/scratch/xvfb-run.jkRp9Z’
‘~/tmp/scratch/xvfb-run.kgW91U’ ‘~/tmp/scratch/xvfb-run.m6UIML’
‘~/tmp/scratch/xvfb-run.mNJtlF’ ‘~/tmp/scratch/xvfb-run.mfobz2’
‘~/tmp/scratch/xvfb-run.mqcDnt’ ‘~/tmp/scratch/xvfb-run.msc3iU’
‘~/tmp/scratch/xvfb-run.my3iOm’ ‘~/tmp/scratch/xvfb-run.nU2zOV’
‘~/tmp/scratch/xvfb-run.nzppFV’ ‘~/tmp/scratch/xvfb-run.pNLkG5’
‘~/tmp/scratch/xvfb-run.rJMxU5’ ‘~/tmp/scratch/xvfb-run.rRM2IJ’
‘~/tmp/scratch/xvfb-run.sLnEVO’ ‘~/tmp/scratch/xvfb-run.sPSzlz’
‘~/tmp/scratch/xvfb-run.tngpUQ’ ‘~/tmp/scratch/xvfb-run.xRwcMt’
‘~/tmp/scratch/xvfb-run.xwRuDB’ ‘~/tmp/scratch/xvfb-run.xxoaZ4’
‘~/tmp/scratch/xvfb-run.yej4VH’ ‘~/tmp/scratch/xvfb-run.yy6aCO’
‘~/tmp/scratch/xvfb-run.zUiWkt’
‘/dev/shm/sm_segment.gimli1.1001.14000000.0’
‘/dev/shm/sm_segment.gimli1.1001.21f90000.0’
‘/dev/shm/sm_segment.gimli1.1001.25660000.0’
‘/dev/shm/sm_segment.gimli1.1001.29c90000.0’
‘/dev/shm/sm_segment.gimli1.1001.30300000.0’
‘/dev/shm/sm_segment.gimli1.1001.34490000.0’
‘/dev/shm/sm_segment.gimli1.1001.403e0000.0’
‘/dev/shm/sm_segment.gimli1.1001.46550000.0’
‘/dev/shm/sm_segment.gimli1.1001.49390000.0’
‘/dev/shm/sm_segment.gimli1.1001.4cfa0000.0’
‘/dev/shm/sm_segment.gimli1.1001.53050000.0’
‘/dev/shm/sm_segment.gimli1.1001.8aab0000.0’
‘/dev/shm/sm_segment.gimli1.1001.92110000.0’
‘/dev/shm/sm_segment.gimli1.1001.96d70000.0’
‘/dev/shm/sm_segment.gimli1.1001.9e630000.0’
‘/dev/shm/sm_segment.gimli1.1001.aeb10000.0’
‘/dev/shm/sm_segment.gimli1.1001.d4280000.0’
‘/dev/shm/sm_segment.gimli1.1001.db150000.0’
‘/dev/shm/sm_segment.gimli1.1001.e8d40000.0’
‘/dev/shm/sm_segment.gimli1.1001.ebad0000.0’
‘/dev/shm/sm_segment.gimli1.1001.ff240000.0’
‘~/.cache/pocl/uncached/tempfile_0jbANy’
‘~/.cache/pocl/uncached/tempfile_4mOQcs’
‘~/.cache/pocl/uncached/tempfile_7uR68u’
‘~/.cache/pocl/uncached/tempfile_7xsFRy’
‘~/.cache/pocl/uncached/tempfile_AKHWFq’
‘~/.cache/pocl/uncached/tempfile_CagScd’
‘~/.cache/pocl/uncached/tempfile_E5x3PW’
‘~/.cache/pocl/uncached/tempfile_MEioBg’
‘~/.cache/pocl/uncached/tempfile_OEkUJN’
‘~/.cache/pocl/uncached/tempfile_Ou6TKt’
‘~/.cache/pocl/uncached/tempfile_S5a2F3’
‘~/.cache/pocl/uncached/tempfile_TmmzWb’
‘~/.cache/pocl/uncached/tempfile_X983LK’
‘~/.cache/pocl/uncached/tempfile_ZntVWB’
‘~/.cache/pocl/uncached/tempfile_b4LO2L’
‘~/.cache/pocl/uncached/tempfile_dSe4oC’
‘~/.cache/pocl/uncached/tempfile_dfh9vR’
‘~/.cache/pocl/uncached/tempfile_lD4hjv’
‘~/.cache/pocl/uncached/tempfile_nphlQX’
‘~/.cache/pocl/uncached/tempfile_op4Kls’
‘~/.cache/pocl/uncached/tempfile_sRAsBf’
‘~/.cache/pocl/uncached/tempfile_uSXGZI’
‘~/.cache/pocl/uncached/tempfile_vWKIA1’
Flavor: r-devel-linux-x86_64-debian-gcc
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-release-macos-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/14s]
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/4s]
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/12s]
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