Last updated on 2026-08-03 04:49:49 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.20 | 149.52 | 159.72 | 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 | 48.00 | 53.00 | ERROR | |
| r-release-macos-x86_64 | 2.0.0 | 13.00 | 127.00 | 140.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 | 33.00 | 36.00 | ERROR | |
| r-oldrel-macos-x86_64 | 2.0.0 | 11.00 | 120.00 | 131.00 | ERROR | |
| r-oldrel-windows-x86_64 | 2.0.0 | 23.00 | 312.00 | 335.00 | OK |
Version: 2.0.0
Check: for new files in some other directories
Result: NOTE
Found the following files/directories:
‘~/tmp/scratch/Rtmp074o6n’ ‘~/tmp/scratch/Rtmp0kLEpO’
‘~/tmp/scratch/Rtmp0mVLr4’ ‘~/tmp/scratch/Rtmp0zT0QC’
‘~/tmp/scratch/Rtmp1Owdbj’ ‘~/tmp/scratch/Rtmp29olY2’
‘~/tmp/scratch/Rtmp2gNMYd’ ‘~/tmp/scratch/Rtmp37FZiV’
‘~/tmp/scratch/Rtmp3HA1Hi’ ‘~/tmp/scratch/Rtmp3OdRHJ’
‘~/tmp/scratch/Rtmp3hpC1N’ ‘~/tmp/scratch/Rtmp3jxXLM’
‘~/tmp/scratch/Rtmp4EBECy’ ‘~/tmp/scratch/Rtmp4PlWfS’
‘~/tmp/scratch/Rtmp4lpapZ’ ‘~/tmp/scratch/Rtmp4nSgJt’
‘~/tmp/scratch/Rtmp59oLn9’ ‘~/tmp/scratch/Rtmp5QTQyz’
‘~/tmp/scratch/Rtmp62BUPL’ ‘~/tmp/scratch/Rtmp6Y7hMm’
‘~/tmp/scratch/Rtmp6lzmWC’ ‘~/tmp/scratch/Rtmp6nhXAi’
‘~/tmp/scratch/Rtmp6pxMmX’ ‘~/tmp/scratch/Rtmp7B5I5D’
‘~/tmp/scratch/Rtmp7JkXIg’ ‘~/tmp/scratch/Rtmp7KW3Yf’
‘~/tmp/scratch/Rtmp7ZS5YQ’ ‘~/tmp/scratch/Rtmp7x3BE2’
‘~/tmp/scratch/Rtmp8IgkFY’ ‘~/tmp/scratch/Rtmp8Nlu8B’
‘~/tmp/scratch/Rtmp8TINu1’ ‘~/tmp/scratch/Rtmp8qdnP0’
‘~/tmp/scratch/Rtmp8t6Uu5’ ‘~/tmp/scratch/Rtmp99p8zw’
‘~/tmp/scratch/RtmpBAyMvg’ ‘~/tmp/scratch/RtmpBFJnel’
‘~/tmp/scratch/RtmpC4pDWq’ ‘~/tmp/scratch/RtmpCvKXrd’
‘~/tmp/scratch/RtmpD1JgsO’ ‘~/tmp/scratch/RtmpDd9l4Y’
‘~/tmp/scratch/RtmpDhgqHE’ ‘~/tmp/scratch/RtmpE2nMTB’
‘~/tmp/scratch/RtmpE4T0aX’ ‘~/tmp/scratch/RtmpEYA4zd’
‘~/tmp/scratch/RtmpErOhJo’ ‘~/tmp/scratch/RtmpFtOpRJ’
‘~/tmp/scratch/RtmpGU5eH0’ ‘~/tmp/scratch/RtmpGUNCFA’
‘~/tmp/scratch/RtmpH3FUu7’ ‘~/tmp/scratch/RtmpHS5dA5’
‘~/tmp/scratch/RtmpHkrh5H’ ‘~/tmp/scratch/RtmpHoggzO’
‘~/tmp/scratch/RtmpI4hLxa’ ‘~/tmp/scratch/RtmpJDLYyG’
‘~/tmp/scratch/RtmpJNcs24’ ‘~/tmp/scratch/RtmpJZzsdt’
‘~/tmp/scratch/RtmpJcRSsO’ ‘~/tmp/scratch/RtmpJpOAdY’
‘~/tmp/scratch/RtmpJsipDl’ ‘~/tmp/scratch/RtmpK2k8AX’
‘~/tmp/scratch/RtmpL3U6BS’ ‘~/tmp/scratch/RtmpLEL9sg’
‘~/tmp/scratch/RtmpMNAgHR’ ‘~/tmp/scratch/RtmpN0PTmZ’
‘~/tmp/scratch/RtmpN9Mm4C’ ‘~/tmp/scratch/RtmpNGfi8n’
‘~/tmp/scratch/RtmpOhuMbU’ ‘~/tmp/scratch/RtmpP1YwqV’
‘~/tmp/scratch/RtmpPhmQxF’ ‘~/tmp/scratch/RtmpPsgz6Y’
‘~/tmp/scratch/RtmpQLFcqO’ ‘~/tmp/scratch/RtmpR0KqU1’
‘~/tmp/scratch/RtmpRSWOyH’ ‘~/tmp/scratch/RtmpSivKSw’
‘~/tmp/scratch/RtmpSo9itn’ ‘~/tmp/scratch/RtmpSrFTpE’
‘~/tmp/scratch/RtmpTC5YWS’ ‘~/tmp/scratch/RtmpUkEkq9’
‘~/tmp/scratch/RtmpUkzfFR’ ‘~/tmp/scratch/RtmpUykNjA’
‘~/tmp/scratch/RtmpVVF5SK’ ‘~/tmp/scratch/RtmpXIn2zc’
‘~/tmp/scratch/RtmpXRepss’ ‘~/tmp/scratch/RtmpXSkEBJ’
‘~/tmp/scratch/RtmpXZKfH0’ ‘~/tmp/scratch/RtmpY5bqG0’
‘~/tmp/scratch/RtmpYFaCfz’ ‘~/tmp/scratch/RtmpYK77jy’
‘~/tmp/scratch/RtmpYZggSS’ ‘~/tmp/scratch/RtmpYgqA1t’
‘~/tmp/scratch/RtmpYso4NX’ ‘~/tmp/scratch/RtmpZ1EQ4C’
‘~/tmp/scratch/RtmpZ671QO’ ‘~/tmp/scratch/RtmpZLTA9K’
‘~/tmp/scratch/RtmpZbB2rC’ ‘~/tmp/scratch/RtmpZlEbv8’
‘~/tmp/scratch/RtmpZy221D’ ‘~/tmp/scratch/Rtmpa9MTLF’
‘~/tmp/scratch/RtmpbMj8YH’ ‘~/tmp/scratch/RtmpblncYh’
‘~/tmp/scratch/RtmpbpBfZI’ ‘~/tmp/scratch/RtmpcxuMVA’
‘~/tmp/scratch/RtmpdNJyHz’ ‘~/tmp/scratch/RtmpdoZrBB’
‘~/tmp/scratch/RtmpegS1My’ ‘~/tmp/scratch/RtmpeiODho’
‘~/tmp/scratch/Rtmpf4sIb1’ ‘~/tmp/scratch/Rtmpf8MBGa’
‘~/tmp/scratch/RtmpgPVIWe’ ‘~/tmp/scratch/RtmpgfqY8d’
‘~/tmp/scratch/RtmpgrD5Xn’ ‘~/tmp/scratch/Rtmph5CR2L’
‘~/tmp/scratch/RtmphO2Up4’ ‘~/tmp/scratch/RtmphmRi6A’
‘~/tmp/scratch/RtmphrKu1T’ ‘~/tmp/scratch/Rtmpi4j1rZ’
‘~/tmp/scratch/Rtmpi7ERCV’ ‘~/tmp/scratch/Rtmpis4zpb’
‘~/tmp/scratch/Rtmpj2VV4I’ ‘~/tmp/scratch/RtmpjoeSrr’
‘~/tmp/scratch/Rtmpkt7wzK’ ‘~/tmp/scratch/Rtmpl1QOKB’
‘~/tmp/scratch/RtmplLfPJW’ ‘~/tmp/scratch/RtmplcLYC0’
‘~/tmp/scratch/RtmpmIKTZc’ ‘~/tmp/scratch/Rtmpmmx8ln’
‘~/tmp/scratch/RtmpnCwZ3G’ ‘~/tmp/scratch/RtmpnFh2lh’
‘~/tmp/scratch/Rtmpo3gfGK’ ‘~/tmp/scratch/Rtmpo9kzBL’
‘~/tmp/scratch/RtmpoE3lz8’ ‘~/tmp/scratch/RtmpoLuNK1’
‘~/tmp/scratch/Rtmpp4RRa5’ ‘~/tmp/scratch/RtmppEMyfd’
‘~/tmp/scratch/RtmpqDXuRX’ ‘~/tmp/scratch/RtmprT0luU’
‘~/tmp/scratch/RtmprTSuQn’ ‘~/tmp/scratch/Rtmpst6SMM’
‘~/tmp/scratch/RtmptYe9aX’ ‘~/tmp/scratch/Rtmpu0zNOn’
‘~/tmp/scratch/RtmpuMM8m7’ ‘~/tmp/scratch/RtmpvMjn9l’
‘~/tmp/scratch/RtmpvoJks3’ ‘~/tmp/scratch/RtmpvoiDMR’
‘~/tmp/scratch/Rtmpwhtq0X’ ‘~/tmp/scratch/RtmpwpEZ3x’
‘~/tmp/scratch/RtmpxaU5tL’ ‘~/tmp/scratch/RtmpyVzPCU’
‘~/tmp/scratch/RtmpyZaNRN’ ‘~/tmp/scratch/RtmpyouGcQ’
‘~/tmp/scratch/Rtmpzaq6EI’ ‘~/tmp/scratch/xvfb-run.07h4T6’
‘~/tmp/scratch/xvfb-run.18L26B’ ‘~/tmp/scratch/xvfb-run.1eSy3f’
‘~/tmp/scratch/xvfb-run.1zl2YQ’ ‘~/tmp/scratch/xvfb-run.257pjz’
‘~/tmp/scratch/xvfb-run.3STSLm’ ‘~/tmp/scratch/xvfb-run.5yAwKS’
‘~/tmp/scratch/xvfb-run.6ccbIa’ ‘~/tmp/scratch/xvfb-run.6rDVBY’
‘~/tmp/scratch/xvfb-run.7K89cI’ ‘~/tmp/scratch/xvfb-run.7bUZhh’
‘~/tmp/scratch/xvfb-run.9lQIRR’ ‘~/tmp/scratch/xvfb-run.Amkcxv’
‘~/tmp/scratch/xvfb-run.Apmi4w’ ‘~/tmp/scratch/xvfb-run.C6TaIf’
‘~/tmp/scratch/xvfb-run.CSRTsF’ ‘~/tmp/scratch/xvfb-run.EtpGpn’
‘~/tmp/scratch/xvfb-run.G0Zctm’ ‘~/tmp/scratch/xvfb-run.GXWmKS’
‘~/tmp/scratch/xvfb-run.GnUxDK’ ‘~/tmp/scratch/xvfb-run.KzpF6E’
‘~/tmp/scratch/xvfb-run.LnoQih’ ‘~/tmp/scratch/xvfb-run.N4WTYU’
‘~/tmp/scratch/xvfb-run.NbueMI’ ‘~/tmp/scratch/xvfb-run.OW5RlO’
‘~/tmp/scratch/xvfb-run.Os4IDS’ ‘~/tmp/scratch/xvfb-run.PMbn4O’
‘~/tmp/scratch/xvfb-run.PUFH14’ ‘~/tmp/scratch/xvfb-run.PlgyGi’
‘~/tmp/scratch/xvfb-run.QA0Iz1’ ‘~/tmp/scratch/xvfb-run.QcACUW’
‘~/tmp/scratch/xvfb-run.QoiYnc’ ‘~/tmp/scratch/xvfb-run.QtucMF’
‘~/tmp/scratch/xvfb-run.R6zTUO’ ‘~/tmp/scratch/xvfb-run.RKhuxJ’
‘~/tmp/scratch/xvfb-run.RgQbjs’ ‘~/tmp/scratch/xvfb-run.SCdnSP’
‘~/tmp/scratch/xvfb-run.SoIZfc’ ‘~/tmp/scratch/xvfb-run.SrvoSS’
‘~/tmp/scratch/xvfb-run.TwJecf’ ‘~/tmp/scratch/xvfb-run.UIcUlS’
‘~/tmp/scratch/xvfb-run.UOnV3q’ ‘~/tmp/scratch/xvfb-run.UfQIVY’
‘~/tmp/scratch/xvfb-run.VsLOGD’ ‘~/tmp/scratch/xvfb-run.YcolKR’
‘~/tmp/scratch/xvfb-run.aQyjS9’ ‘~/tmp/scratch/xvfb-run.c3KtAS’
‘~/tmp/scratch/xvfb-run.c9cGnw’ ‘~/tmp/scratch/xvfb-run.cV76IQ’
‘~/tmp/scratch/xvfb-run.ceoiNl’ ‘~/tmp/scratch/xvfb-run.d8vsy1’
‘~/tmp/scratch/xvfb-run.dHESAL’ ‘~/tmp/scratch/xvfb-run.dbBnpg’
‘~/tmp/scratch/xvfb-run.dsg8Jj’ ‘~/tmp/scratch/xvfb-run.h5Hg7r’
‘~/tmp/scratch/xvfb-run.hCHKsZ’ ‘~/tmp/scratch/xvfb-run.iNmcNh’
‘~/tmp/scratch/xvfb-run.iWxlpQ’ ‘~/tmp/scratch/xvfb-run.iizWrE’
‘~/tmp/scratch/xvfb-run.j11g4w’ ‘~/tmp/scratch/xvfb-run.j515wI’
‘~/tmp/scratch/xvfb-run.kSCRcO’ ‘~/tmp/scratch/xvfb-run.mOhek5’
‘~/tmp/scratch/xvfb-run.nGQHyw’ ‘~/tmp/scratch/xvfb-run.nnQuCc’
‘~/tmp/scratch/xvfb-run.ojJWFR’ ‘~/tmp/scratch/xvfb-run.pBYUhq’
‘~/tmp/scratch/xvfb-run.qgJNnd’ ‘~/tmp/scratch/xvfb-run.ro5PIA’
‘~/tmp/scratch/xvfb-run.vLhh1K’ ‘~/tmp/scratch/xvfb-run.vMgfzA’
‘~/tmp/scratch/xvfb-run.vvVMuR’ ‘~/tmp/scratch/xvfb-run.wivDKs’
‘~/tmp/scratch/xvfb-run.xhj0ql’ ‘~/tmp/scratch/xvfb-run.ywuSHp’
‘/dev/shm/sm_segment.gimli1.1001.142c0000.0’
‘/dev/shm/sm_segment.gimli1.1001.16940000.0’
‘/dev/shm/sm_segment.gimli1.1001.1dae0000.0’
‘/dev/shm/sm_segment.gimli1.1001.1f0a0000.0’
‘/dev/shm/sm_segment.gimli1.1001.2d5c0000.0’
‘/dev/shm/sm_segment.gimli1.1001.31960000.0’
‘/dev/shm/sm_segment.gimli1.1001.41cf0000.0’
‘/dev/shm/sm_segment.gimli1.1001.46f70000.0’
‘/dev/shm/sm_segment.gimli1.1001.57e20000.0’
‘/dev/shm/sm_segment.gimli1.1001.57f40000.0’
‘/dev/shm/sm_segment.gimli1.1001.6d2e0000.0’
‘/dev/shm/sm_segment.gimli1.1001.705f0000.0’
‘/dev/shm/sm_segment.gimli1.1001.70f00000.0’
‘/dev/shm/sm_segment.gimli1.1001.8dc0000.0’
‘/dev/shm/sm_segment.gimli1.1001.a5f0000.0’
‘/dev/shm/sm_segment.gimli1.1001.b9970000.0’
‘/dev/shm/sm_segment.gimli1.1001.d6cd0000.0’
‘/dev/shm/sm_segment.gimli1.1001.d8070000.0’
‘/dev/shm/sm_segment.gimli1.1001.dc240000.0’
‘/dev/shm/sm_segment.gimli1.1001.dddb0000.0’
‘/dev/shm/sm_segment.gimli1.1001.df5f0000.0’
‘/dev/shm/sm_segment.gimli1.1001.eeaf0000.0’
‘/dev/shm/sm_segment.gimli1.1001.f0570000.0’
‘~/.cache/pocl/uncached/tempfile_30QgqU’
‘~/.cache/pocl/uncached/tempfile_5FH7kI’
‘~/.cache/pocl/uncached/tempfile_5gWk09’
‘~/.cache/pocl/uncached/tempfile_6qmxM1’
‘~/.cache/pocl/uncached/tempfile_91dRY5’
‘~/.cache/pocl/uncached/tempfile_AlM4bk’
‘~/.cache/pocl/uncached/tempfile_BQLQKj’
‘~/.cache/pocl/uncached/tempfile_FnYFsW’
‘~/.cache/pocl/uncached/tempfile_H2Tqtp’
‘~/.cache/pocl/uncached/tempfile_Jp9vBc’
‘~/.cache/pocl/uncached/tempfile_Pvu7NH’
‘~/.cache/pocl/uncached/tempfile_RLZphr’
‘~/.cache/pocl/uncached/tempfile_W2O3dc’
‘~/.cache/pocl/uncached/tempfile_WFzK8O’
‘~/.cache/pocl/uncached/tempfile_Y42FW3’
‘~/.cache/pocl/uncached/tempfile_ZEspZg’
‘~/.cache/pocl/uncached/tempfile_ifNVCF’
‘~/.cache/pocl/uncached/tempfile_iq9dEg’
‘~/.cache/pocl/uncached/tempfile_oNEcZp’
‘~/.cache/pocl/uncached/tempfile_oYUzMr’
‘~/.cache/pocl/uncached/tempfile_vwbFOM’
‘~/.cache/pocl/uncached/tempfile_xnzJvK’
‘~/.cache/pocl/uncached/tempfile_z3sPA8’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # Point pak's pkgcache at a per-session writable cache BEFORE library(Require)
> # loads pak. Under R CMD check (CRAN policy), pkgcache aborts if R_USER_CACHE_DIR
> # is unset; without this every Require::Install() inside the test suite errors
> # with "Please install pak" because pak's namespace fails to load.
> if (!nzchar(Sys.getenv("R_USER_CACHE_DIR"))) {
+ .ucd <- tempfile("RequireUserCache_")
+ dir.create(.ucd, recursive = TRUE, showWarnings = FALSE)
+ Sys.setenv(R_USER_CACHE_DIR = .ucd)
+ rm(.ucd)
+ }
>
> library(Require)
> library(testthat)
Attaching package: 'testthat'
The following object is masked from 'package:Require':
setup
> test_check("Require")
Saving _problems/test-00pkgSnapshot_testthat-2.R
Saving _problems/test-02extract_testthat-3.R
Saving _problems/test-03helpers_testthat-3.R
Saving _problems/test-08modules_testthat-4.R
Saving _problems/test-10DifferentPkgs_testthat-2.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-14coverage2_testthat-158.R
Saving _problems/test-15bugfixes_testthat-630.R
Saving _problems/test-15bugfixes_testthat-667.R
Loading required namespace: pak
Failed with error: 'there is no package called 'pak''
Saving _problems/test-15bugfixes_testthat-674.R
Saving _problems/test-17usePak-372.R
Saving _problems/test-17usePak-384.R
Saving _problems/test-17usePak-386.R
Saving _problems/test-17usePak-388.R
Saving _problems/test-17usePak-1014.R
Saving _problems/test-17usePak-1486.R
Saving _problems/test-19smallSnapshot_testthat-2.R
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
══ Skipped tests (31) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-01packages_testthat.R:12:3',
'test-04other_testthat.R:8:3', 'test-05packagesLong_testthat.R:3:3',
'test-06pkgDep_testthat.R:2:3', 'test-09pkgSnapshotLong_testthat.R:13:3',
'test-11misc_testthat.R:7:3', 'test-12offlineMode_testthat.R:9:3',
'test-12offlineMode_testthat.R:76:3',
'test-16installFailureMetadata_testthat.R:449:3',
'test-16installFailureMetadata_testthat.R:473:3',
'test-16installFailureMetadata_testthat.R:509:3',
'test-16installFailureMetadata_testthat.R:547:3',
'test-16installFailureMetadata_testthat.R:586:3',
'test-16installFailureMetadata_testthat.R:638:3',
'test-18nosudo_testthat.R:108:3'
• parentChain test uses non-pak pkgDep internals (1):
'test-16parentChain_integration_testthat.R:25:3'
• {pak} is not installed (15): 'test-15bugfixes_testthat.R:200:3',
'test-15bugfixes_testthat.R:246:3', 'test-15bugfixes_testthat.R:301:3',
'test-15bugfixes_testthat.R:364:3', 'test-15bugfixes_testthat.R:432:3',
'test-15bugfixes_testthat.R:790:3', 'test-15bugfixes_testthat.R:848:3',
'test-17usePak.R:155:3', 'test-17usePak.R:191:3', 'test-17usePak.R:255:3',
'test-17usePak.R:1067:3', 'test-17usePak.R:1110:3', 'test-17usePak.R:1134:3',
'test-17usePak.R:1158:3', 'test-17usePak.R:1218:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-00pkgSnapshot_testthat.R:2:3'): test 1 ─────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-00pkgSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-02extract_testthat.R:3:3'): test 1 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-02extract_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-03helpers_testthat.R:3:3'): test 3 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-03helpers_testthat.R:3:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-08modules_testthat.R:4:3'): test 8 ─────────────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-08modules_testthat.R:4:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-10DifferentPkgs_testthat.R:2:3'): test 10 ──────────────────────
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest(needRequireInNewLib = TRUE) at test-10DifferentPkgs_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
── Error ('test-14coverage2_testthat.R:158:3'): pkgDepTopoSort with local packages ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort("data.table") at test-14coverage2_testthat.R:158:3
2. └─Require::pkgDep(...)
── Failure ('test-15bugfixes_testthat.R:630:3'): Require accepts a multi-line string of packages (issue #147) ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-15bugfixes_testthat.R:667:3'): Require accepts an unquoted `{...}` block ──
Expected `all(res)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-15bugfixes_testthat.R:674:3'): pkgDepTopoSort's first arg is `packages` (consistent with Require) ──
Error in `pkgDep(packages, recursive = TRUE, purge = purge, libPaths = libPaths, which = which, verbose = verbose, includeSelf = FALSE)`: Please install pak
Backtrace:
▆
1. └─Require::pkgDepTopoSort(packages = "data.table") at test-15bugfixes_testthat.R:674:3
2. └─Require::pkgDep(...)
── Failure ('test-17usePak.R:371:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `any(recoverable)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest should be recoverable (installed version satisfies >= 0.1.0)
── Failure ('test-17usePak.R:383:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `pkg %in% recoverPkgs` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
digest must be in the set of recovered packages
── Failure ('test-17usePak.R:385:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `is.na(recoverDT$loadOrder[recoverDT$Package == pkg])` to be FALSE.
Differences:
`actual`:
`expected`: FALSE
recovered digest must have a non-NA loadOrder so doLoads() will require() it
── Failure ('test-17usePak.R:387:3'): recovery mechanism adds loadOrder for packages absent from pkgDT but installed ──
Expected `isTRUE(recoverDT$installedVersionOK[recoverDT$Package == pkg])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
recovered digest must have installedVersionOK = TRUE
── Failure ('test-17usePak.R:1013:3'): pinInstalledForPak rewrites installed plain refs to pkg@version ──
Expected `out[1L]` to be identical to `paste0("data.table@", dtVer)`.
Differences:
`actual`: "data.table"
`expected`: "data.table@1.18.4"
installed data.table must be pinned to its installed version
── Failure ('test-17usePak.R:1485:3'): pinInstalledForPak skips user-version-constrained packages ──
Expected `grepl("^data.table@", out[2])` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
bare user packages with no constraint must be pinned to installed version to keep deps stable
── Error ('test-19smallSnapshot_testthat.R:2:3'): small snapshot install pins each package to the requested version ──
Error: Please install pak (loadNamespace('pak') failed: there is no package called 'pak')
Backtrace:
▆
1. └─Require:::setupTest() at test-19smallSnapshot_testthat.R:2:3
2. └─Require::Install(c("curl", "httr", "waldo")) at ./helper_0.R:25:3
3. └─Require::Require(...)
4. ├─base::withCallingHandlers(...)
5. └─Require:::pakDepsToPkgDT(...)
[ FAIL 16 | WARN 0 | SKIP 31 | PASS 374 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/9s]
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/19s]
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