Running 'spelling.R' [1s]
  Running 'testthat.R' [37s]
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 1 | SKIP 0 | PASS 20 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-files.R:22:3'): `make_tests_shells_file()` and `make_tests_shells_pkg()` work ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(., readr::read_lines, lazy = FALSE)`: ℹ In index: 5.
  Caused by error:
  ! Resource temporarily unavailable
  Backtrace:
       ▆
    1. ├─base::replicate(...) at test-files.R:22:2
    2. │ └─base::sapply(...)
    3. │   └─base::lapply(X = X, FUN = FUN, ...)
    4. │     └─exampletestr (local) FUN(X[[i]], ...)
    5. │       └─exampletestr::make_tests_shells_file("R/detect.R", pkg_dir, open = FALSE)
    6. │         └─exampletestr:::extract_examples(...)
    7. │           └─... %>% strex::str_remove_quoted()
    8. ├─strex::str_remove_quoted(.)
    9. │ └─strex:::is_l0_char(string)
   10. │   ├─base::isTRUE(checkmate::check_character(x, max.len = 0))
   11. │   └─checkmate::check_character(x, max.len = 0)
   12. │     └─... %and% ...
   13. │       └─base::isTRUE(lhs)
   14. ├─base::unlist(.)
   15. ├─purrr::map(., readr::read_lines, lazy = FALSE)
   16. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   17. │   ├─purrr:::with_indexed_errors(...)
   18. │   │ └─base::withCallingHandlers(...)
   19. │   ├─purrr:::call_with_cleanup(...)
   20. │   └─readr (local) .f(.x[[i]], ...)
   21. │     └─vroom::vroom_lines(...)
   22. │       └─vroom:::vroom_(...)
   23. └─base::.handleSimpleError(...)
   24.   └─purrr (local) h(simpleError(msg, call))
   25.     └─cli::cli_abort(...)
   26.       └─rlang::abort(...)
  ── Error ('test-shell-creation.R:34:3'): `make_test_shell()` works ─────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(., readr::read_lines, lazy = FALSE)`: ℹ In index: 4.
  Caused by error:
  ! Resource temporarily unavailable
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-shell-creation.R:34:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─exampletestr:::make_test_shell(...)
    5. │ └─checkmate::assert_character(example_block)
    6. │   └─checkmate::checkCharacter(...)
    7. │     └─... %and% ...
    8. │       └─base::isTRUE(lhs)
    9. ├─exampletestr:::extract_examples("detect", pkg_dir = pkg_dir)
   10. │ └─... %>% strex::str_remove_quoted()
   11. ├─strex::str_remove_quoted(.)
   12. │ └─strex:::is_l0_char(string)
   13. │   ├─base::isTRUE(checkmate::check_character(x, max.len = 0))
   14. │   └─checkmate::check_character(x, max.len = 0)
   15. │     └─... %and% ...
   16. │       └─base::isTRUE(lhs)
   17. ├─base::unlist(.)
   18. ├─purrr::map(., readr::read_lines, lazy = FALSE)
   19. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   20. │   ├─purrr:::with_indexed_errors(...)
   21. │   │ └─base::withCallingHandlers(...)
   22. │   ├─purrr:::call_with_cleanup(...)
   23. │   └─readr (local) .f(.x[[i]], ...)
   24. │     └─vroom::vroom_lines(...)
   25. │       └─vroom:::vroom_(...)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─rlang::abort(...)
  
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted