- using R Under development (unstable) (2025-11-13 r89015)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘ggseg/DESCRIPTION’ ... OK
- this is package ‘ggseg’ version ‘1.6.5’
- 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 ‘ggseg’ can be installed ... [19s/50s] OK
See the install log for details.
- 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 ... NOTE
Problems with news in ‘NEWS.md’:
Cannot extract version info from the following section titles:
* Changes all data options to .data to decrease possibility of column naming overlap
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [5s/11s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/12s] OK
- checking whether the package can be unloaded cleanly ... [4s/11s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/12s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/15s] OK
- checking loading without being on the library search path ... [5s/15s] 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 ... [23s/55s] OK
- checking Rd files ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [21s/53s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [84s/222s] ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [83s/219s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
>
> test_check("ggseg")
Loading required package: ggseg
Saving _problems/test-brain_palettes-10.R
merging atlas and data by 'region'
merging atlas and data by 'region'
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 106 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-brain-atlas-plots.R:2:1', 'test-ggseg.R:8:1',
'test-ggseg.R:41:1', 'test-ggseg.R:50:1', 'test-ggseg_atlas.R:94:1',
'test-scale_brain.R:2:1', 'test-theme_brain.R:2:1'
• empty test (1): 'test-coord-funcs.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-brain_palettes.R:10:3'): Check that palette extraction happens ok ──
Error in `expect_warning(length(brain_pal("aseg", 2)), 3)`: `regexp` must be a single string, `NA`, or `NULL`, not the number 3.
Backtrace:
▆
1. └─testthat::expect_warning(regexp = 3) at test-brain_palettes.R:10:3
2. └─testthat:::check_string(regexp, allow_null = TRUE, allow_na = TRUE)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 106 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [90s/238s] OK
- checking PDF version of manual ... [8s/25s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE