Running 'testthat.R' [167s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(lintr)
  > 
  > # suppress printing environment name (noisy)
  > invisible({
  +   loadNamespace("patrick")
  +   loadNamespace("withr")
  + })
  > 
  > test_check("lintr")
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 5018 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • {data.table} is not installed (1): 'test-methods.R:155:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-fixed_regex_linter.R:50:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 3.
  Caused by error in `glue_data()`:
  ! Expecting '}'
  Backtrace:
       ▆
    1. ├─patrick::with_parameters_test_that(...) at test-fixed_regex_linter.R:50:1
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─patrick (local) .f(char = .l[[1L]][[i]], .test_name = .l[[2L]][[i]], ...)
    8. │       └─patrick:::build_description(args, desc, .test_name, .interpret_glue)
    9. │         └─glue::glue_data(args, completed_desc)
   10. └─base::.handleSimpleError(...)
   11.   └─purrr (local) h(simpleError(msg, call))
   12.     └─cli::cli_abort(...)
   13.       └─rlang::abort(...)
  ── Error ('test-pipe_continuation_linter.R:182:3'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to evaluate glue component {
    a %>% b()
  }
  Caused by error in `b()`:
  ! could not find function "b"
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 5018 ]
  Error: Test failures
  Execution halted