Running 'spelling.R' [0s]
  Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(exampletestr)
  > 
  > get_os <- function() {
  +   sysinf <- Sys.info()
  +   if (!is.null(sysinf)) {
  +     os <- sysinf["sysname"]
  +     if (os == "Darwin") {
  +       os <- "osx"
  +     }
  +   } else { ## mystery machine
  +     os <- .Platform$OS.type
  +     if (grepl("^darwin", R.version$os)) {
  +       os <- "osx"
  +     }
  +     if (grepl("linux-gnu", R.version$os)) {
  +       os <- "linux"
  +     }
  +   }
  +   if (os == "osx") os <- "mac"
  +   tolower(os)
  + }
  > 
  > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") {
  +   test_check("exampletestr")
  + }
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-example-extraction.R:15:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ──────────
  crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n    * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.".
  Actual value: "is.environment(.envir) is not TRUE"
  Backtrace:
      ▆
   1. ├─usethis::with_project(...) at test-functions.R:103:3
   2. │ └─base::force(code)
   3. └─testthat::expect_match(...) at test-functions.R:110:5
   4.   └─testthat:::expect_match_(...)
  ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ──────────────
  crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n    * Every R package must have a 'DESCRIPTION' file in the root directory.\n    * Perhaps you specified the wrong `pkg_dir`?\n    * You specified `pkg_dir = ".
  Actual value: "is.environment(.envir) is not TRUE"
  Backtrace:
      ▆
   1. └─testthat::expect_match(...) at test-utils.R:54:3
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ]
  Error: Test failures
  Execution halted