• using R version 4.6.0 alpha (2026-03-26 r89725)
  • using platform: aarch64-apple-darwin23
  • R was compiled by     Apple clang version 17.0.0 (clang-1700.3.19.1)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Sequoia 15.7.1
  • using session charset: UTF-8 * current time: 2026-03-28 11:00:20 UTC
  • 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 whether package ‘srcpkgs’ can be installed ... [1s/1s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package directory ... 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 ... [0s/0s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the package can be unloaded cleanly ... [0s/0s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] OK
  • checking whether startup messages can be suppressed ... [0s/0s] 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 ... [1s/1s] OK
  • checking Rd files ... [0s/0s] OK
  • checking Rd metadata ... 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 ... [7s/7s] ERROR Running examples in ‘srcpkgs-Ex.R’ failed The error most likely occurred in: > ### Name: pkgs_install > ### Title: installs a list of source packages > ### Aliases: pkgs_install > > ### ** Examples > > pkg <- setup_and_get_dummy_srcpkg() > dest <- tempfile() > pkgs_install(pkg, dest) Execution halted
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [12s/12s] ERROR   Running ‘testthat.R’ [12s/12s] 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 10 | WARN 3 | SKIP 5 | PASS 576 ]      ══ 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)   ── Error ('test-pkgs_install.R:10:3'): .pkgs_install ───────────────────────────   <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>   Error: ! error in pak subprocess   Caused by error in `get_user_cache_dir()`:   ! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README   Backtrace:        ▆     1. └─srcpkgs::pkgs_install("GG", LIB, src_pkgs = src_pkgs, quiet = TRUE) at test-pkgs_install.R:10:3     2. ├─srcpkgs:::fast_unlist(lapply(pkgs_to_install, .process_pkg))     3. │ └─base::unlist(x, recursive, use.names)     4. └─base::lapply(pkgs_to_install, .process_pkg)     5. └─srcpkgs (local) FUN(X[[i]], ...)     6. └─srcpkgs:::pkg_install_nodeps(pkg$path, lib, quiet = quiet, ...)     7. ├─withr::with_libpaths(...)     8. │ └─base::force(code)     9. └─devtools::install(...)    10. └─(function() {...    11. ├─base::withCallingHandlers(...)    12. └─pak::local_install_deps(...)    13. └─pak:::remote(...)    14. └─err$throw(res$error)   ── Error ('test-pkgs_install.R:43:3'): pkg_install_nodeps ──────────────────────   <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>   Error: ! error in pak subprocess   Caused by error in `get_user_cache_dir()`:   ! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README   Backtrace:        ▆     1. ├─testthat::expect_error(...) at test-pkgs_install.R:43:3     2. │ └─testthat:::expect_condition_matching_(...)     3. │ └─testthat:::quasi_capture(...)     4. │ ├─testthat (local) .capture(...)     5. │ │ └─base::withCallingHandlers(...)     6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))     7. └─srcpkgs:::pkg_install_nodeps(src_pkgs$ZZ$path, LIB, quiet = TRUE)     8. ├─withr::with_libpaths(...)     9. │ └─base::force(code)    10. └─devtools::install(...)    11. └─(function() {...    12. ├─base::withCallingHandlers(...)    13. └─pak::local_install_deps(...)    14. └─pak:::remote(...)    15. └─err$throw(res$error)   ── Failure ('test-plan.R:12:3'): execute_plan ──────────────────────────────────   Expected `nrow(plan)` to equal `nrow(mat2)`.   Differences:     `actual`: 7   `expected`: 5         [ FAIL 10 | WARN 3 | SKIP 5 | PASS 576 ]   Error:   ! Test failures.   Execution halted
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes ... OK
  • checking re-building of vignette outputs ... [19s/19s] ERROR Error(s) in re-building vignettes: --- re-building ‘demo.Rmd’ using rmarkdown --- finished re-building ‘demo.Rmd’ --- re-building ‘getting_started.Rmd’ using rmarkdown --- finished re-building ‘getting_started.Rmd’ --- re-building ‘testing_and_checking.Rmd’ using rmarkdown Quitting from testing_and_checking.Rmd:176-179 [checking] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! ! error in pak subprocess Caused by error in `get_user_cache_dir()`: ! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README --- Backtrace:      ▆   1. └─srcpkgs::pkgs_check(small_collection, quiet = TRUE)   2. └─srcpkgs::pkgs_install(pkgs, lib, src_pkgs = src_pkgs, quiet = TRUE)   3. ├─srcpkgs:::fast_unlist(lapply(pkgs_to_install, .process_pkg))   4. │ └─base::unlist(x, recursive, use.names)   5. └─base::lapply(pkgs_to_install, .process_pkg)   6. └─srcpkgs (local) FUN(X[[i]], ...)   7. └─srcpkgs:::pkg_install_nodeps(pkg$path, lib, quiet = quiet, ...)   8. ├─withr::with_libpaths(...)   9. │ └─base::force(code)  10. └─devtools::install(...)  11. └─(function() {...  12. ├─base::withCallingHandlers(...)  13. └─pak::local_install_deps(...)  14. └─pak:::remote(...)  15. └─err$throw(res$error) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'testing_and_checking.Rmd' failed with diagnostics: ! error in pak subprocess Caused by error in `get_user_cache_dir()`: ! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README --- failed re-building ‘testing_and_checking.Rmd’ SUMMARY: processing the following file failed:   ‘testing_and_checking.Rmd’ Error: Vignette re-building failed. Execution halted
  • checking PDF version of manual ... [2s/2s] OK
  • DONE Status: 3 ERRORs
  • using check arguments '--no-clean-on-error '