Running ‘testthat.R’ [13s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (require(testthat)) {
  +   library(reportfactory)
  +   test_check("reportfactory")
  + } else {
  +   warning("'reportfactory' requires 'testthat' for tests")
  + }
  Loading required package: testthat
  >>> Compiling report: parameterised
        - with parameters: test1 = three, test2 = four
  All done!
  
  >>> Compiling report: parameterised
        - with parameters: test1 = three, test2 = four
  All done!
  
  Folder 'outputs' does not exist. It will be created the first time 'compile_reports' is run
  Folder 'outputs' does not exist. It will be created the first time 'compile_reports' is run
  >>> Compiling report: parameterised
        - with parameters: test1 = three, test2 = four
  All done!
  
  >>> Compiling report: parameterised_with_missing
        - with parameters: test2 = four, test3 = five, test1 = one
  All done!
  
  >>> Compiling report: simple2
        - with parameters: test2 = four, test3 = five
  All done!
  
  >>> Compiling report: parameterised_with_missing
  All done!
  
  >>> Compiling report: dimple
  >>> Compiling report: simple
  All done!
  
  >>> Compiling report: dimple
  >>> Compiling report: simple
  All done!
  
  >>> Compiling report: simple_with_figures_folder
  All done!
  
  >>> Compiling report: nested/parameterised
  >>> Compiling report: simple
  All done!
  
  >>> Compiling report: nested/parameterised
  All done!
  
  >>> Compiling report: nested/parameterised
  All done!
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-list_deps.R:17:3): list_deps works ──────────────────────────────
  Error: 'scanForPackages' is not an exported object from 'namespace:checkpoint'
  Backtrace:
      █
   1. └─reportfactory::list_deps(f) test-list_deps.R:17:2
  
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 31 ]
  Deleting unused snapshots:
  * _snaps/compile_reports/missing_param_but_envir.md
  * _snaps/compile_reports/missing_param_report_check.md
  * _snaps/compile_reports/nonparameterised_with_params.md
  * _snaps/compile_reports/outputs_deleted_param_report_check.md
  * _snaps/compile_reports/param_report_check.md
  Error: Test failures
  Execution halted