Running ‘testthat.R’ [14s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("tidylog")
  
  Attaching package: 'tidylog'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("tidylog")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 353 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_mutate.R:275:9'): mutate: units ────────────────────────────────
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `.fun(.data, ...)`: ℹ In argument: `a = units::set_units(a, mg)`.
  Caused by error in `loadNamespace()`:
  ! there is no package called 'units'
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test_mutate.R:274:5
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─tidylog::mutate(tibble(a = 1:2), a = units::set_units(a, mg)) at test_mutate.R:275:9
    7. │ └─tidylog:::log_mutate(...)
    8. │   ├─dplyr (local) .fun(.data, ...)
    9. │   └─dplyr:::mutate.data.frame(.data, ...)
   10. │     └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
   11. │       ├─base::withCallingHandlers(...)
   12. │       └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
   13. │         └─mask$eval_all_mutate(quo)
   14. │           └─dplyr (local) eval()
   15. ├─base::loadNamespace(x)
   16. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   17. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18. │ │   └─base (local) doWithOneRestart(return(expr), restart)
   19. │ └─base::stop(cond)
   20. └─dplyr (local) `<fn>`(`<pckgNtFE>`)
   21.   └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 353 ]
  Error: Test failures
  Execution halted