Running examples in 'ggseg-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     x
  1. +-(function (x, ...) ...
  2. \-ggplot2:::print.ggplot(x)
  3.   +-ggplot2::ggplot_build(x)
  4.   \-ggplot2:::ggplot_build.ggplot(x)
  5.     \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       \-ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         \-l$compute_statistic(d, layout)
  8.           \-ggplot2:::f(..., self = self)
  9.             \-self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               \-ggplot2:::f(..., self = self)
 11.                 \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   \-ggplot2:::f(..., self = self)
 13.                     \-ggplot2:::check_required_aesthetics(...)
Execution halted
Running 'spelling.R' [0s/1s]
  Running 'testthat.R' [36s/43s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  == Skipped tests ===============================================================
  * On CRAN (6)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ----------------
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       x
    1. \-vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   \-vdiffr:::writer(fig, testcase, title)
    3.     +-vdiffr:::print_plot(plot, title)
    4.     \-vdiffr:::print_plot.ggplot(plot, title)
    5.       +-base::print(p)
    6.       \-ggplot2:::print.ggplot(p)
    7.         +-ggplot2::ggplot_build(x)
    8.         \-ggplot2:::ggplot_build.ggplot(x)
    9.           \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             \-ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               \-l$compute_statistic(d, layout)
   12.                 \-ggplot2:::f(..., self = self)
   13.                   \-self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     \-ggplot2:::f(..., self = self)
   15.                       \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         \-ggplot2:::f(..., self = self)
   17.                           \-ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'externalData.Rmd' using rmarkdown
--- finished re-building 'externalData.Rmd'

--- re-building 'freesurfer_files.Rmd' using rmarkdown
--- finished re-building 'freesurfer_files.Rmd'

--- re-building 'geom-sf.Rmd' using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'geom-sf.Rmd'

--- re-building 'ggseg.Rmd' using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'ggseg.Rmd'

SUMMARY: processing the following files failed:
  'geom-sf.Rmd' 'ggseg.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in ‘ggseg-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. └─ggplot2:::print.ggplot(x)
  3.   ├─ggplot2::ggplot_build(x)
  4.   └─ggplot2:::ggplot_build.ggplot(x)
  5.     └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       └─ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         └─l$compute_statistic(d, layout)
  8.           └─ggplot2:::f(..., self = self)
  9.             └─self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               └─ggplot2:::f(..., self = self)
 11.                 └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   └─ggplot2:::f(..., self = self)
 13.                     └─ggplot2:::check_required_aesthetics(...)
Execution halted
Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [26s/38s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ────────────────
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       █
    1. └─vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   └─vdiffr:::writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             └─ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               └─l$compute_statistic(d, layout)
   12.                 └─ggplot2:::f(..., self = self)
   13.                   └─self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     └─ggplot2:::f(..., self = self)
   15.                       └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         └─ggplot2:::f(..., self = self)
   17.                           └─ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘externalData.Rmd’ using rmarkdown
--- finished re-building ‘externalData.Rmd’

--- re-building ‘freesurfer_files.Rmd’ using rmarkdown
--- finished re-building ‘freesurfer_files.Rmd’

--- re-building ‘geom-sf.Rmd’ using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘geom-sf.Rmd’

--- re-building ‘ggseg.Rmd’ using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘ggseg.Rmd’

SUMMARY: processing the following files failed:
  ‘geom-sf.Rmd’ ‘ggseg.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in ‘ggseg-Ex.R’ failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. └─ggplot2:::print.ggplot(x)
  3.   ├─ggplot2::ggplot_build(x)
  4.   └─ggplot2:::ggplot_build.ggplot(x)
  5.     └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       └─ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         └─l$compute_statistic(d, layout)
  8.           └─ggplot2:::f(..., self = self)
  9.             └─self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               └─ggplot2:::f(..., self = self)
 11.                 └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   └─ggplot2:::f(..., self = self)
 13.                     └─ggplot2:::check_required_aesthetics(...)
Execution halted
Running ‘spelling.R’
  Running ‘testthat.R’ [37s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ────────────────
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       █
    1. └─vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   └─vdiffr:::writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             └─ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               └─l$compute_statistic(d, layout)
   12.                 └─ggplot2:::f(..., self = self)
   13.                   └─self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     └─ggplot2:::f(..., self = self)
   15.                       └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         └─ggplot2:::f(..., self = self)
   17.                           └─ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘externalData.Rmd’ using rmarkdown
--- finished re-building ‘externalData.Rmd’

--- re-building ‘freesurfer_files.Rmd’ using rmarkdown
--- finished re-building ‘freesurfer_files.Rmd’

--- re-building ‘geom-sf.Rmd’ using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘geom-sf.Rmd’

--- re-building ‘ggseg.Rmd’ using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘ggseg.Rmd’

SUMMARY: processing the following files failed:
  ‘geom-sf.Rmd’ ‘ggseg.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in ‘ggseg-Ex.R’ failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. └─ggplot2:::print.ggplot(x)
  3.   ├─ggplot2::ggplot_build(x)
  4.   └─ggplot2:::ggplot_build.ggplot(x)
  5.     └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       └─ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         └─l$compute_statistic(d, layout)
  8.           └─ggplot2:::f(..., self = self)
  9.             └─self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               └─ggplot2:::f(..., self = self)
 11.                 └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   └─ggplot2:::f(..., self = self)
 13.                     └─ggplot2:::check_required_aesthetics(...)
Execution halted
Running ‘spelling.R’
  Running ‘testthat.R’ [40s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ────────────────
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       █
    1. └─vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   └─vdiffr:::writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             └─ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               └─l$compute_statistic(d, layout)
   12.                 └─ggplot2:::f(..., self = self)
   13.                   └─self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     └─ggplot2:::f(..., self = self)
   15.                       └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         └─ggplot2:::f(..., self = self)
   17.                           └─ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘externalData.Rmd’ using rmarkdown
--- finished re-building ‘externalData.Rmd’

--- re-building ‘freesurfer_files.Rmd’ using rmarkdown
--- finished re-building ‘freesurfer_files.Rmd’

--- re-building ‘geom-sf.Rmd’ using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘geom-sf.Rmd’

--- re-building ‘ggseg.Rmd’ using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘ggseg.Rmd’

SUMMARY: processing the following files failed:
  ‘geom-sf.Rmd’ ‘ggseg.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in 'ggseg-Ex.R' failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     x
  1. +-(function (x, ...) ...
  2. \-ggplot2:::print.ggplot(x)
  3.   +-ggplot2::ggplot_build(x)
  4.   \-ggplot2:::ggplot_build.ggplot(x)
  5.     \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       \-ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         \-l$compute_statistic(d, layout)
  8.           \-ggplot2:::f(..., self = self)
  9.             \-self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               \-ggplot2:::f(..., self = self)
 11.                 \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   \-ggplot2:::f(..., self = self)
 13.                     \-ggplot2:::check_required_aesthetics(...)
Execution halted
Running 'spelling.R' [0s]
  Running 'testthat.R' [35s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  == Skipped tests ===============================================================
  * On CRAN (6)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ----------------
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       x
    1. \-vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   \-vdiffr:::writer(fig, testcase, title)
    3.     +-vdiffr:::print_plot(plot, title)
    4.     \-vdiffr:::print_plot.ggplot(plot, title)
    5.       +-base::print(p)
    6.       \-ggplot2:::print.ggplot(p)
    7.         +-ggplot2::ggplot_build(x)
    8.         \-ggplot2:::ggplot_build.ggplot(x)
    9.           \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             \-ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               \-l$compute_statistic(d, layout)
   12.                 \-ggplot2:::f(..., self = self)
   13.                   \-self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     \-ggplot2:::f(..., self = self)
   15.                       \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         \-ggplot2:::f(..., self = self)
   17.                           \-ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'externalData.Rmd' using rmarkdown
--- finished re-building 'externalData.Rmd'

--- re-building 'freesurfer_files.Rmd' using rmarkdown
--- finished re-building 'freesurfer_files.Rmd'

--- re-building 'geom-sf.Rmd' using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'geom-sf.Rmd'

--- re-building 'ggseg.Rmd' using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'ggseg.Rmd'

SUMMARY: processing the following files failed:
  'geom-sf.Rmd' 'ggseg.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in 'ggseg-Ex.R' failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     x
  1. +-(function (x, ...) ...
  2. \-ggplot2:::print.ggplot(x)
  3.   +-ggplot2::ggplot_build(x)
  4.   \-ggplot2:::ggplot_build.ggplot(x)
  5.     \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       \-ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         \-l$compute_statistic(d, layout)
  8.           \-ggplot2:::f(..., self = self)
  9.             \-self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               \-ggplot2:::f(..., self = self)
 11.                 \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   \-ggplot2:::f(..., self = self)
 13.                     \-ggplot2:::check_required_aesthetics(...)
Execution halted
Running 'spelling.R'
  Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
    7.         +-ggplot2::ggplot_build(x)
    8.         \-ggplot2:::ggplot_build.ggplot(x)
    9.           \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             \-ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               \-l$compute_statistic(d, layout)
   12.                 \-ggplot2:::f(..., self = self)
   13.                   \-self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     \-ggplot2:::f(..., self = self)
   15.                       \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         \-ggplot2:::f(..., self = self)
   17.                           \-ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'externalData.Rmd' using rmarkdown
--- finished re-building 'externalData.Rmd'

--- re-building 'freesurfer_files.Rmd' using rmarkdown
--- finished re-building 'freesurfer_files.Rmd'

--- re-building 'geom-sf.Rmd' using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'geom-sf.Rmd'

--- re-building 'ggseg.Rmd' using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'ggseg.Rmd'

SUMMARY: processing the following files failed:
  'geom-sf.Rmd' 'ggseg.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in ‘ggseg-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. └─ggplot2:::print.ggplot(x)
  3.   ├─ggplot2::ggplot_build(x)
  4.   └─ggplot2:::ggplot_build.ggplot(x)
  5.     └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       └─ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         └─l$compute_statistic(d, layout)
  8.           └─ggplot2:::f(..., self = self)
  9.             └─self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               └─ggplot2:::f(..., self = self)
 11.                 └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   └─ggplot2:::f(..., self = self)
 13.                     └─ggplot2:::check_required_aesthetics(...)
Execution halted
Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [32s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ────────────────
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       █
    1. └─vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   └─vdiffr:::writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             └─ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               └─l$compute_statistic(d, layout)
   12.                 └─ggplot2:::f(..., self = self)
   13.                   └─self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     └─ggplot2:::f(..., self = self)
   15.                       └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         └─ggplot2:::f(..., self = self)
   17.                           └─ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘externalData.Rmd’ using rmarkdown
--- finished re-building ‘externalData.Rmd’

--- re-building ‘freesurfer_files.Rmd’ using rmarkdown
--- finished re-building ‘freesurfer_files.Rmd’

--- re-building ‘geom-sf.Rmd’ using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘geom-sf.Rmd’

--- re-building ‘ggseg.Rmd’ using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘ggseg.Rmd’

SUMMARY: processing the following files failed:
  ‘geom-sf.Rmd’ ‘ggseg.Rmd’

Error: Vignette re-building failed.
Execution halted
installed size is  5.1Mb
  sub-directories of 1Mb or more:
    doc   2.3Mb
Running examples in ‘ggseg-Ex.R’ failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. └─ggplot2:::print.ggplot(x)
  3.   ├─ggplot2::ggplot_build(x)
  4.   └─ggplot2:::ggplot_build.ggplot(x)
  5.     └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       └─ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         └─l$compute_statistic(d, layout)
  8.           └─ggplot2:::f(..., self = self)
  9.             └─self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               └─ggplot2:::f(..., self = self)
 11.                 └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   └─ggplot2:::f(..., self = self)
 13.                     └─ggplot2:::check_required_aesthetics(...)
Execution halted
Running ‘spelling.R’
  Running ‘testthat.R’ [45s/57s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ────────────────
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       █
    1. └─vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   └─vdiffr:::writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             └─ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               └─l$compute_statistic(d, layout)
   12.                 └─ggplot2:::f(..., self = self)
   13.                   └─self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     └─ggplot2:::f(..., self = self)
   15.                       └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         └─ggplot2:::f(..., self = self)
   17.                           └─ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘externalData.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
--- finished re-building ‘externalData.Rmd’

--- re-building ‘freesurfer_files.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
--- finished re-building ‘freesurfer_files.Rmd’

--- re-building ‘geom-sf.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘geom-sf.Rmd’

--- re-building ‘ggseg.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘ggseg.Rmd’

SUMMARY: processing the following files failed:
  ‘geom-sf.Rmd’ ‘ggseg.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in ‘ggseg-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     █
  1. ├─(function (x, ...) ...
  2. └─ggplot2:::print.ggplot(x)
  3.   ├─ggplot2::ggplot_build(x)
  4.   └─ggplot2:::ggplot_build.ggplot(x)
  5.     └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       └─ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         └─l$compute_statistic(d, layout)
  8.           └─ggplot2:::f(..., self = self)
  9.             └─self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               └─ggplot2:::f(..., self = self)
 11.                 └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   └─ggplot2:::f(..., self = self)
 13.                     └─ggplot2:::check_required_aesthetics(...)
Execution halted
Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [32s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ────────────────
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       █
    1. └─vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   └─vdiffr:::writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             └─ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               └─l$compute_statistic(d, layout)
   12.                 └─ggplot2:::f(..., self = self)
   13.                   └─self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     └─ggplot2:::f(..., self = self)
   15.                       └─ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         └─ggplot2:::f(..., self = self)
   17.                           └─ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘externalData.Rmd’ using rmarkdown
--- finished re-building ‘externalData.Rmd’

--- re-building ‘freesurfer_files.Rmd’ using rmarkdown
--- finished re-building ‘freesurfer_files.Rmd’

--- re-building ‘geom-sf.Rmd’ using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘geom-sf.Rmd’

--- re-building ‘ggseg.Rmd’ using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building ‘ggseg.Rmd’

SUMMARY: processing the following files failed:
  ‘geom-sf.Rmd’ ‘ggseg.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in 'ggseg-Ex.R' failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     x
  1. +-(function (x, ...) ...
  2. \-ggplot2:::print.ggplot(x)
  3.   +-ggplot2::ggplot_build(x)
  4.   \-ggplot2:::ggplot_build.ggplot(x)
  5.     \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       \-ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         \-l$compute_statistic(d, layout)
  8.           \-ggplot2:::f(..., self = self)
  9.             \-self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               \-ggplot2:::f(..., self = self)
 11.                 \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   \-ggplot2:::f(..., self = self)
 13.                     \-ggplot2:::check_required_aesthetics(...)
Execution halted
Running 'spelling.R' [0s]
  Running 'testthat.R' [37s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  == Skipped tests ===============================================================
  * On CRAN (6)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ----------------
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       x
    1. \-vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   \-vdiffr:::writer(fig, testcase, title)
    3.     +-vdiffr:::print_plot(plot, title)
    4.     \-vdiffr:::print_plot.ggplot(plot, title)
    5.       +-base::print(p)
    6.       \-ggplot2:::print.ggplot(p)
    7.         +-ggplot2::ggplot_build(x)
    8.         \-ggplot2:::ggplot_build.ggplot(x)
    9.           \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             \-ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               \-l$compute_statistic(d, layout)
   12.                 \-ggplot2:::f(..., self = self)
   13.                   \-self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     \-ggplot2:::f(..., self = self)
   15.                       \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         \-ggplot2:::f(..., self = self)
   17.                           \-ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'externalData.Rmd' using rmarkdown
--- finished re-building 'externalData.Rmd'

--- re-building 'freesurfer_files.Rmd' using rmarkdown
--- finished re-building 'freesurfer_files.Rmd'

--- re-building 'geom-sf.Rmd' using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'geom-sf.Rmd'

--- re-building 'ggseg.Rmd' using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'ggseg.Rmd'

SUMMARY: processing the following files failed:
  'geom-sf.Rmd' 'ggseg.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in 'ggseg-Ex.R' failed
The error most likely occurred in:

> ### Name: geom_brain
> ### Title: Brain geom
> ### Aliases: geom_brain GeomBrain
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> ggplot() +
+  geom_brain(atlas = dk)
Error: stat_sf requires the following missing aesthetics: geometry
Backtrace:
     x
  1. +-(function (x, ...) ...
  2. \-ggplot2:::print.ggplot(x)
  3.   +-ggplot2::ggplot_build(x)
  4.   \-ggplot2:::ggplot_build.ggplot(x)
  5.     \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
  6.       \-ggplot2:::f(l = layers[[i]], d = data[[i]])
  7.         \-l$compute_statistic(d, layout)
  8.           \-ggplot2:::f(..., self = self)
  9.             \-self$stat$compute_layer(data, self$computed_stat_params, layout)
 10.               \-ggplot2:::f(..., self = self)
 11.                 \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
 12.                   \-ggplot2:::f(..., self = self)
 13.                     \-ggplot2:::check_required_aesthetics(...)
Execution halted
Running 'spelling.R' [0s]
  Running 'testthat.R' [40s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ggseg")
  Loading required package: ggseg
  merging atlas and data by 'region'
  == Skipped tests ===============================================================
  * The R graphics engine is too old.
  Please update to R 4.1.0 and regenerate the vdiffr snapshots. (6)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error (test-brain-atlas-plots.R:3:3): brain atlas plots work ----------------
  Error: stat_sf requires the following missing aesthetics: geometry
  Backtrace:
       x
    1. \-vdiffr::expect_doppelganger("brain atlas dk plot", plot(dk)) test-brain-atlas-plots.R:3:2
    2.   \-vdiffr:::writer(fig, testcase, title)
    3.     +-vdiffr:::print_plot(plot, title)
    4.     \-vdiffr:::print_plot.ggplot(plot, title)
    5.       +-base::print(p)
    6.       \-ggplot2:::print.ggplot(p)
    7.         +-ggplot2::ggplot_build(x)
    8.         \-ggplot2:::ggplot_build.ggplot(x)
    9.           \-ggplot2:::by_layer(function(l, d) l$compute_statistic(d, layout))
   10.             \-ggplot2:::f(l = layers[[i]], d = data[[i]])
   11.               \-l$compute_statistic(d, layout)
   12.                 \-ggplot2:::f(..., self = self)
   13.                   \-self$stat$compute_layer(data, self$computed_stat_params, layout)
   14.                     \-ggplot2:::f(..., self = self)
   15.                       \-ggproto_parent(Stat, self)$compute_layer(data, params, layout)
   16.                         \-ggplot2:::f(..., self = self)
   17.                           \-ggplot2:::check_required_aesthetics(...)
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 108 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'externalData.Rmd' using rmarkdown
--- finished re-building 'externalData.Rmd'

--- re-building 'freesurfer_files.Rmd' using rmarkdown
--- finished re-building 'freesurfer_files.Rmd'

--- re-building 'geom-sf.Rmd' using rmarkdown
Quitting from lines 45-46 (geom-sf.Rmd) 
Error: processing vignette 'geom-sf.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'geom-sf.Rmd'

--- re-building 'ggseg.Rmd' using rmarkdown
Quitting from lines 54-55 (ggseg.Rmd) 
Error: processing vignette 'ggseg.Rmd' failed with diagnostics:
stat_sf requires the following missing aesthetics: geometry
--- failed re-building 'ggseg.Rmd'

SUMMARY: processing the following files failed:
  'geom-sf.Rmd' 'ggseg.Rmd'

Error: Vignette re-building failed.
Execution halted