- using R version 4.5.3 Patched (2026-03-11 r89645)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-14) 15.2.0
GNU Fortran (Debian 15.2.0-14) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘srcpkgs/DESCRIPTION’ ... OK
- this is package ‘srcpkgs’ version ‘0.2’
- package encoding: UTF-8
- 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 serialization versions ... OK
- checking whether package ‘srcpkgs’ 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 ... OK
- 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 ... [1s/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/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/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 ... [7s/10s] OK
- checking Rd files ... [0s/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 line endings in Makefiles ... OK
- checking for GNU extensions in Makefiles ... OK
- checking include directives in Makefiles ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [13s/17s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
pkgs_install 5.306 0.463 8.682
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [70s/84s] ERROR
Running ‘testthat.R’ [70s/84s]
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(testthat)
> suppressPackageStartupMessages(library(srcpkgs))
>
> test_check("srcpkgs")
[ FAIL 7 | WARN 25 | SKIP 5 | PASS 589 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• On CRAN (5): 'test-pkg_check.R:5:3', 'test-pkg_test.R:75:1',
'test-pkgs_check.R:5:3', 'test-pkgs_test.R:2:1', 'test-pkgs_test.R:66:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-pkg_meta.R:44:3'): fetch_srcpkgs_meta ────────────────────────
Expected `is.data.frame(df)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-pkg_meta.R:45:3'): fetch_srcpkgs_meta ────────────────────────
Expected `df$package` to be identical to "pkg1".
Differences:
`actual` is NULL
`expected` is a character vector ('pkg1')
── Failure ('test-pkg_meta.R:46:3'): fetch_srcpkgs_meta ────────────────────────
Expected `df$attached` to be FALSE.
Differences:
`actual` is NULL
`expected` is a logical vector (FALSE)
── Failure ('test-pkg_meta.R:54:3'): fetch_srcpkgs_meta ────────────────────────
Expected `fetch_srcpkgs_meta()$package` to be identical to "pkg1".
Differences:
`actual` is NULL
`expected` is a character vector ('pkg1')
── Failure ('test-pkg_meta.R:66:3'): fetch_srcpkgs_meta ────────────────────────
Expected `is.data.frame(df)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-pkg_meta.R:67:3'): fetch_srcpkgs_meta ────────────────────────
Expected `all(c("pkg1", "pkg2") %in% df$package)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-pkg_meta.R:69:3'): fetch_srcpkgs_meta ──────────────────────────
Error in `expect_setequal(df$attached, c(TRUE, FALSE))`: `object` must be a vector, not `NULL`.
Backtrace:
▆
1. └─testthat::expect_setequal(object = df$attached) at test-pkg_meta.R:69:3
2. └─testthat:::check_vector(act$val, error_arg = "object")
3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call)
4. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 7 | WARN 25 | SKIP 5 | PASS 589 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [118s/145s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR