* using log directory 'd:/Rcompile/CRANpkg/local/4.5/ggseg.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'ggseg/DESCRIPTION' ... OK * this is package 'ggseg' version '2.1.1' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ggseg' can be installed ... OK * 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [9s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [11s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [40s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [40s] 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) > library(ggseg) > > test_check("ggseg") Starting 2 test processes. Saving _problems/test-scale-brain-3.R Saving _problems/test-scale-brain-9.R Saving _problems/test-scale-brain-15.R Saving _problems/test-scale-brain-21.R Saving _problems/test-scale-brain-26.R Saving _problems/test-scale-brain-33.R Saving _problems/test-scale-brain-41.R Saving _problems/test-scale-brain-49.R [ FAIL 8 | WARN 0 | SKIP 21 | PASS 267 ] ══ Skipped tests (21) ══════════════════════════════════════════════════════════ • On CRAN (21): 'test-annotate-brain.R:144:3', 'test-annotate-brain.R:153:3', 'test-annotate-brain.R:169:3', 'test-annotate-brain.R:178:3', 'test-brain-atlas-plots.R:2:3', 'test-brain-atlas-plots.R:9:3', 'test-brain-atlas-plots.R:21:3', 'test-brain-atlas-plots.R:33:3', 'test-brain-atlas-plots.R:45:3', 'test-brain-atlas-plots.R:57:3', 'test-brain-atlas-plots.R:69:3', 'test-brain-atlas-plots.R:86:3', 'test-brain-atlas-plots.R:93:3', 'test-brain-atlas-plots.R:105:3', 'test-brain-atlas-plots.R:117:3', 'test-brain-atlas-plots.R:129:3', 'test-brain-atlas-plots.R:141:3', 'test-brain-atlas-plots.R:148:3', 'test-brain-atlas-plots.R:160:3', 'test-brain-atlas-plots.R:172:3', 'test-brain-atlas-plots.R:184:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-scale-brain.R:3:5'): scale_brain / returns a scale for fill by default ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_brain()) at test-scale-brain.R:3:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_brain() 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:9:5'): scale_brain / returns a scale for colour ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_brain(aesthetics = "colour")) at test-scale-brain.R:9:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_brain(aesthetics = "colour") 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:15:5'): scale_brain / returns a scale for color (aliased to colour) ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_brain(aesthetics = "color")) at test-scale-brain.R:15:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_brain(aesthetics = "color") 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:21:5'): scale_brain / uses custom na.value ─────── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_brain(na.value = "red")) at test-scale-brain.R:21:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_brain(na.value = "red") 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:26:5'): scale_brain / accepts atlas name argument ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_brain(name = "dk")) at test-scale-brain.R:26:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_brain(name = "dk") 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:33:5'): scale_colour_brain / returns a colour scale ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_colour_brain()) at test-scale-brain.R:33:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_colour_brain() 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:41:5'): scale_color_brain / returns a color scale (aliased to colour) ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_color_brain()) at test-scale-brain.R:41:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_color_brain() 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) ── Error ('test-scale-brain.R:49:5'): scale_fill_brain / returns a fill scale ── Error in `atlas_palette(name = name, ...)`: argument "atlas" is missing, with no default Backtrace: ▆ 1. ├─lifecycle::expect_deprecated(scale <- scale_fill_brain()) at test-scale-brain.R:49:5 2. │ └─testthat::expect_warning(...) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─ggseg::scale_fill_brain() 9. └─ggseg.formats::atlas_palette(name = name, ...) 10. └─ggseg.formats:::is_atlas_class(atlas) [ FAIL 8 | WARN 0 | SKIP 21 | PASS 267 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [77s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR