Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [54s/32s]
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 ──
  <getvarError/missingArgError/error/condition>
  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 ──
  <getvarError/missingArgError/error/condition>
  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) ──
  <getvarError/missingArgError/error/condition>
  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 ───────
  <getvarError/missingArgError/error/condition>
  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 ──
  <getvarError/missingArgError/error/condition>
  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 ──
  <getvarError/missingArgError/error/condition>
  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) ──
  <getvarError/missingArgError/error/condition>
  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 ──
  <getvarError/missingArgError/error/condition>
  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