Running 'testthat.R' [41s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(simpr)
  
  Attaching package: 'simpr'
  
  The following object is masked from 'package:stats':
  
      filter
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("simpr")
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 48 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_calc_glance.R:7:3'): glance_fits correctly returns broom::glance output ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `(function (.x, .f, ..., .progress = FALSE) 
  {
      map_("list", .x, .f, ..., .progress = .progress)
  })(.x = 1, .f = function (...) 
  {
      {
          ...furrr_chunk_seeds_i <- ...furrr_chunk_seeds_env[["i"]]
          ...furrr_chunk_seeds_env[["i"]] <- ...furrr_chunk_seeds_i + 
              1L
          assign(x = ".Random.seed", value = ...furrr_chunk_seeds[[...furrr_chunk_seeds_i]], 
              envir = globalenv(), inherits = FALSE)
      }
      NULL
      ...furrr_out <- ...furrr_fn(...)
      ...furrr_out
  })`: ℹ In index: 1.
  Caused by error in `ll()`:
  ! could not find function "ll"
  Backtrace:
       ▆
    1. ├─... %>% relocate(.sim_id) at test_calc_glance.R:7:3
    2. ├─dplyr::relocate(., .sim_id)
    3. ├─dplyr::mutate(., .sim_id = 1)
    4. ├─furrr::future_map(...)
    5. │ └─furrr:::furrr_map_template(...)
    6. │   └─furrr:::furrr_template(...)
    7. │     └─future::future(...)
    8. │       ├─future::run(future)
    9. │       └─future:::run.Future(future)
   10. │         ├─base::tryCatch(...)
   11. │         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12. │         │   ├─base (local) tryCatchOne(...)
   13. │         │   │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   14. │         │   └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   15. │         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   16. │         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   17. │         ├─future::launchFuture(backend, future = future)
   18. │         └─future:::launchFuture.SequentialFutureBackend(backend, future = future)
   19. │           └─future:::evalFuture(data)
   20. │             ├─base::tryCatch(...)
   21. │             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   22. │             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   23. │             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   24. │             └─future:::evalFutureInternal(data)
   25. │               ├─base::tryCatch(...)
   26. │               │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │               │   ├─base (local) tryCatchOne(...)
   28. │               │   │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │               │   └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   30. │               │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   31. │               │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   32. │               ├─base::tryCatch(...)
   33. │               │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   34. │               ├─base::withCallingHandlers(...)
   35. │               ├─base::withVisible(...)
   36. │               └─base::eval(expr, envir = globalenv())
   37. │                 └─base::eval(expr, envir = globalenv())
   38. ├─base::local(...)
   39. │ └─base::eval.parent(substitute(eval(quote(expr), envir)))
   40. │   └─base::eval(expr, p)
   41. │     └─base::eval(expr, p)
   42. ├─base::eval(...)
   43. │ └─base::eval(...)
   44. │   ├─base::do.call(...furrr_map_fn, args)
   45. │   └─purrr (local) `<fn>`(.x = 1, .f = `<fn>`)
   46. │     └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   47. │       ├─purrr:::with_indexed_errors(...)
   48. │       │ └─base::withCallingHandlers(...)
   49. │       ├─purrr:::call_with_cleanup(...)
   50. │       └─.f(.x[[i]], ...)
   51. │         └─simpr (local) ...furrr_fn(...)
   52. │           ├─broom::glance(lm(x2 ~ x1)) at test_calc_glance.R:11:5
   53. │           └─broom:::glance.lm(lm(x2 ~ x1))
   54. │             ├─base::with(...)
   55. │             └─base::with.default(...)
   56. │               └─base::eval(substitute(expr), data, enclos = parent.frame())
   57. │                 └─base::eval(substitute(expr), data, enclos = parent.frame())
   58. │                   └─tibble::tibble(...)
   59. │                     └─tibble:::tibble_quos(xs, .rows, .name_repair)
   60. │                       └─rlang::eval_tidy(xs[[j]], mask)
   61. ├─stats::AIC(x)
   62. ├─stats:::AIC.default(x)
   63. └─base::.handleSimpleError(...)
   64.   └─purrr (local) h(simpleError(msg, call))
   65.     └─cli::cli_abort(...)
   66.       └─rlang::abort(...)
  ── Error ('test_include.R:67:3'): delayed tidy() and glance() same as generate() ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ...)`: ℹ In index: 1.
  ℹ With name: lm.
  Caused by error:
  ℹ In index: 1.
  ℹ With name: 1.
  Caused by error in `ll()`:
  ! could not find function "ll"
  
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 48 ]
  Error: Test failures
  Execution halted