- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘Require/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘Require’ version ‘1.0.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘Require’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘Require2.R’ ‘helpers.R’ ‘pak.R’ ‘pkgDep3.R’
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking whether startup messages can be suppressed ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [32s/45s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/10s] ERROR
Running ‘testthat.R’ [6s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(Require)
> library(testthat)
Attaching package: 'testthat'
The following object is masked from 'package:Require':
setup
> test_check("Require")
Saving _problems/test-00pkgSnapshot_testthat-16.R
Saving _problems/test-01packages_testthat-36.R
Saving _problems/test-02extract_testthat-61.R
Saving _problems/test-04other_testthat-19.R
Saving _problems/test-11misc_testthat-12.R
[ FAIL 5 | WARN 0 | SKIP 8 | PASS 37 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-04other_testthat.R:31:3',
'test-05packagesLong_testthat.R:3:3', 'test-06pkgDep_testthat.R:3:3',
'test-12offlineMode_testthat.R:4:3'
• empty test (4): 'test-07pkgSnapshotLong_testthat.R:1:1',
'test-08modules_testthat.R:1:1', 'test-09pkgSnapshotLong_testthat.R:1:1',
'test-10DifferentPkgs_testthat.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-00pkgSnapshot_testthat.R:16:3'): test 1 ────────────────────────
Error in ``[.data.table`(pkgDT, , `:=`(keep44, if (any(hasInequality)) ifelse(hasInequality, .I, NA) else .I), by = "Package")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─base::suppressWarnings(Require(c("rlang"), require = FALSE, quiet = quiet)) at test-00pkgSnapshot_testthat.R:16:3
2. │ └─base::withCallingHandlers(...)
3. └─Require::Require(c("rlang"), require = FALSE, quiet = quiet)
4. └─Require:::confirmEqualsDontViolateInequalitiesThenTrim(pkgDT)
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
── Error ('test-01packages_testthat.R:32:3'): test 1 ───────────────────────────
Error in ``[.data.table`(pkgDT, , `:=`(keep44, if (any(hasInequality)) ifelse(hasInequality, .I, NA) else .I), by = "Package")`: attempt access index 10/10 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::capture_warnings(...) at test-01packages_testthat.R:32:3
2. │ └─base::withCallingHandlers(...)
3. ├─testthat::capture_messages(...)
4. │ └─base::withCallingHandlers(...)
5. └─Require::Require(...)
6. └─Require:::confirmEqualsDontViolateInequalitiesThenTrim(pkgDT)
7. ├─...[]
8. └─data.table:::`[.data.table`(...)
── Error ('test-02extract_testthat.R:61:3'): test 1 ────────────────────────────
Error in ``[.data.table`(pkgDT, hasSubFolder %in% TRUE, `:=`(GitSubFolder, strsplit(RepoWBranch, split = "/|@")[[1]][2]), by = seq(sum(hasSubFolder, na.rm = TRUE)))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─Require::parseGitHub("r-forge/mumin/pkg") at test-02extract_testthat.R:61:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Failure ('test-04other_testthat.R:18:3'): test 4 ────────────────────────────
Expected `any(grepl("could not be installed", warns))` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-11misc_testthat.R:12:3'): test 11 ────────────────────────────
Expected `err$message` to match regexp "Did you spell the GitHub.com repository, package and or branch/gitRefs correctly?".
Actual text:
x | attempt access index 13/13 in VECTOR_ELT
[ FAIL 5 | WARN 0 | SKIP 8 | PASS 37 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s/3s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [5s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE