Running examples in ‘schtools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: theme_lucas
> ### Title: Sarah's go-to theme for ggplot2
> ### Aliases: theme_lucas
> 
> ### ** Examples
> 
> library(ggplot2)
> library(showtext)
Loading required package: sysfonts
Loading required package: showtextdb
> 
> # run once to download the PT Sans fonts
> font_add_google(name = "PT Sans", family = "PT Sans")
> font_add_google(name = "PT Sans Narrow", family = "PT Sans Narrow")
> showtext_auto()
> 
> # make a plot with theme_lucas()
> ggplot(mtcars) +
+   aes(x = mpg, y = wt, color = cyl) +
+   geom_point() +
+   theme_lucas()
Error in loadNamespace(x) : there is no package called ‘hrbrthemes’
Calls: theme_lucas ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’ [9s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(schtools)
  > 
  > test_check("schtools")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:11:1'): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'hrbrthemes'
  Backtrace:
      ▆
   1. ├─schtools::theme_lucas() at test-plot.R:11:1
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted
Running examples in ‘schtools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: theme_lucas
> ### Title: Sarah's go-to theme for ggplot2
> ### Aliases: theme_lucas
> 
> ### ** Examples
> 
> library(ggplot2)
> library(showtext)
Loading required package: sysfonts
Loading required package: showtextdb
> 
> # run once to download the PT Sans fonts
> font_add_google(name = "PT Sans", family = "PT Sans")
> font_add_google(name = "PT Sans Narrow", family = "PT Sans Narrow")
> showtext_auto()
> 
> # make a plot with theme_lucas()
> ggplot(mtcars) +
+   aes(x = mpg, y = wt, color = cyl) +
+   geom_point() +
+   theme_lucas()
Error in loadNamespace(x) : there is no package called ‘hrbrthemes’
Calls: theme_lucas ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’ [6s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(schtools)
  > 
  > test_check("schtools")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:11:1'): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'hrbrthemes'
  Backtrace:
      ▆
   1. ├─schtools::theme_lucas() at test-plot.R:11:1
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted
Running examples in ‘schtools-Ex.R’ failed
The error most likely occurred in:

> ### Name: theme_lucas
> ### Title: Sarah's go-to theme for ggplot2
> ### Aliases: theme_lucas
> 
> ### ** Examples
> 
> library(ggplot2)
> library(showtext)
Loading required package: sysfonts
Loading required package: showtextdb
> 
> # run once to download the PT Sans fonts
> font_add_google(name = "PT Sans", family = "PT Sans")
> font_add_google(name = "PT Sans Narrow", family = "PT Sans Narrow")
> showtext_auto()
> 
> # make a plot with theme_lucas()
> ggplot(mtcars) +
+   aes(x = mpg, y = wt, color = cyl) +
+   geom_point() +
+   theme_lucas()
Error in loadNamespace(x) : there is no package called ‘hrbrthemes’
Calls: theme_lucas ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’ [15s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(schtools)
  > 
  > test_check("schtools")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:11:1'): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'hrbrthemes'
  Backtrace:
      ▆
   1. ├─schtools::theme_lucas() at test-plot.R:11:1
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted
Running examples in ‘schtools-Ex.R’ failed
The error most likely occurred in:

> ### Name: theme_lucas
> ### Title: Sarah's go-to theme for ggplot2
> ### Aliases: theme_lucas
> 
> ### ** Examples
> 
> library(ggplot2)
> library(showtext)
Loading required package: sysfonts
Loading required package: showtextdb
> 
> # run once to download the PT Sans fonts
> font_add_google(name = "PT Sans", family = "PT Sans")
> font_add_google(name = "PT Sans Narrow", family = "PT Sans Narrow")
> showtext_auto()
> 
> # make a plot with theme_lucas()
> ggplot(mtcars) +
+   aes(x = mpg, y = wt, color = cyl) +
+   geom_point() +
+   theme_lucas()
Error in loadNamespace(x) : there is no package called ‘hrbrthemes’
Calls: theme_lucas ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’ [14s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(schtools)
  > 
  > test_check("schtools")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:11:1'): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'hrbrthemes'
  Backtrace:
      ▆
   1. ├─schtools::theme_lucas() at test-plot.R:11:1
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted
Running examples in ‘schtools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: theme_lucas
> ### Title: Sarah's go-to theme for ggplot2
> ### Aliases: theme_lucas
> 
> ### ** Examples
> 
> library(ggplot2)
> library(showtext)
Loading required package: sysfonts
Loading required package: showtextdb
> 
> # run once to download the PT Sans fonts
> font_add_google(name = "PT Sans", family = "PT Sans")
> font_add_google(name = "PT Sans Narrow", family = "PT Sans Narrow")
> showtext_auto()
> 
> # make a plot with theme_lucas()
> ggplot(mtcars) +
+   aes(x = mpg, y = wt, color = cyl) +
+   geom_point() +
+   theme_lucas()
Error in loadNamespace(x) : there is no package called ‘hrbrthemes’
Calls: theme_lucas ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(schtools)
  > 
  > test_check("schtools")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:11:1'): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'hrbrthemes'
  Backtrace:
      ▆
   1. ├─schtools::theme_lucas() at test-plot.R:11:1
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted
Running examples in ‘schtools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: theme_lucas
> ### Title: Sarah's go-to theme for ggplot2
> ### Aliases: theme_lucas
> 
> ### ** Examples
> 
> library(ggplot2)
> library(showtext)
Loading required package: sysfonts
Loading required package: showtextdb
> 
> # run once to download the PT Sans fonts
> font_add_google(name = "PT Sans", family = "PT Sans")
> font_add_google(name = "PT Sans Narrow", family = "PT Sans Narrow")
> showtext_auto()
> 
> # make a plot with theme_lucas()
> ggplot(mtcars) +
+   aes(x = mpg, y = wt, color = cyl) +
+   geom_point() +
+   theme_lucas()
Error in loadNamespace(x) : there is no package called ‘hrbrthemes’
Calls: theme_lucas ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’ [8s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(schtools)
  > 
  > test_check("schtools")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:11:1'): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'hrbrthemes'
  Backtrace:
      ▆
   1. ├─schtools::theme_lucas() at test-plot.R:11:1
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted