Running 'spelling.R' [0s]
  Running 'testthat.R' [30s]
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-coords-23.R
  Saving _problems/test-coords-31.R
  Saving _problems/test-geom-brain-231.R
  [ FAIL 3 | WARN 2 | SKIP 21 | PASS 403 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (21): 'test-annotate-brain.R:179:3', 'test-annotate-brain.R:188:3',
    'test-annotate-brain.R:204:3', 'test-annotate-brain.R:213: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-coords.R:23:5'): sf2coords / converts sf data to coords format ──
  Error in `seq_len(nrow(x))`: argument must be coercible to non-negative integer
  Backtrace:
      ▆
   1. └─ggseg:::sf2coords(dk()$data$sf) at test-coords.R:23:5
   2.   └─base::lapply(...)
  ── Error ('test-coords.R:31:5'): sf2coords / removes geometry column ───────────
  Error in `seq_len(nrow(x))`: argument must be coercible to non-negative integer
  Backtrace:
      ▆
   1. └─ggseg:::sf2coords(dk()$data$sf) at test-coords.R:31:5
   2.   └─base::lapply(...)
  ── Failure ('test-geom-brain.R:228:5'): LayerBrain / errors when atlas has no data ──
  Expected `ggplot_build(ggplot() + geom_brain_sf(atlas = empty_atlas))` to throw a error.
  
  [ FAIL 3 | WARN 2 | SKIP 21 | PASS 403 ]
  Error:
  ! Test failures.
  Execution halted