Running 'spelling.R'
  Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(usethis)
  > 
  > test_check("usethis")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • No Git user configured (22)
  • Not on GitHub Actions, Travis, or Appveyor (1)
  • On CRAN (12)
  • roxygen2 cannot be loaded (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cpp11.R:8:3): use_cpp11() creates files/dirs, edits DESCRIPTION and .gitignore ──
  Error: The `roxygen2` package is required.
  Backtrace:
      █
   1. └─usethis::use_roxygen_md() test-cpp11.R:8:2
   2.   └─usethis:::check_installed("roxygen2")
   3.     └─rlang::check_installed(pkg)
  ── Error (test-rcpp.R:8:3): use_rcpp() creates files/dirs, edits DESCRIPTION and .gitignore ──
  Error: The `roxygen2` package is required.
  Backtrace:
      █
   1. └─usethis::use_roxygen_md() test-rcpp.R:8:2
   2.   └─usethis:::check_installed("roxygen2")
   3.     └─rlang::check_installed(pkg)
  ── Error (test-rcpp.R:21:3): use_rcpp_armadillo() creates Makevars files and edits DESCRIPTION ──
  Error: The `roxygen2` package is required.
  Backtrace:
      █
   1. └─usethis::use_roxygen_md() test-rcpp.R:21:2
   2.   └─usethis:::check_installed("roxygen2")
   3.     └─rlang::check_installed(pkg)
  ── Error (test-rcpp.R:36:3): use_rcpp_eigen() edits DESCRIPTION ────────────────
  Error: The `roxygen2` package is required.
  Backtrace:
      █
   1. └─usethis::use_roxygen_md() test-rcpp.R:36:2
   2.   └─usethis:::check_installed("roxygen2")
   3.     └─rlang::check_installed(pkg)
  ── Error (test-rcpp.R:48:3): use_src() doesn't message if not needed ───────────
  Error: The `roxygen2` package is required.
  Backtrace:
      █
   1. └─usethis::use_roxygen_md() test-rcpp.R:48:2
   2.   └─usethis:::check_installed("roxygen2")
   3.     └─rlang::check_installed(pkg)
  
  [ FAIL 5 | WARN 0 | SKIP 37 | PASS 549 ]
  Error: Test failures
  Execution halted