Running 'spelling.R' [0s]
  Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(toRvik)
  > library(purrr)
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  > library(utils)
  > 
  > test_check("toRvik")
  ! Something went wrong. Check documentation.
  ! Something went wrong. Check documentation.
  ! Something went wrong. Check documentation.
  ! Something went wrong. Check documentation.
  ! Something went wrong. Check documentation.
  ! Something went wrong. Check documentation.
  [ FAIL 6 | WARN 0 | SKIP 4 | PASS 36 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-rating.R:13:3): date range works with one end ─────────────────
  `str\(bart_factors\(start = "2022-01-01"\)\)` does not match "toRvik_data".
  Actual value: "'data\.frame':\\t0 obs\. of  0 variables"
  Backtrace:
      ▆
   1. └─testthat::expect_output(...) at test-rating.R:13:2
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-rating.R:14:3): date range works with one end ─────────────────
  `str\(bart_factors\(end = "2022-01-01"\)\)` does not match "toRvik_data".
  Actual value: "'data\.frame':\\t0 obs\. of  0 variables"
  Backtrace:
      ▆
   1. └─testthat::expect_output(...) at test-rating.R:14:2
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-rating.R:15:3): date range works with one end ─────────────────
  `str\(bart_conf_factors\(start = "2022-01-01"\)\)` does not match "toRvik_data".
  Actual value: "'data\.frame':\\t0 obs\. of  0 variables"
  Backtrace:
      ▆
   1. └─testthat::expect_output(...) at test-rating.R:15:2
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-rating.R:16:3): date range works with one end ─────────────────
  `str\(bart_conf_factors\(end = "2022-01-01"\)\)` does not match "toRvik_data".
  Actual value: "'data\.frame':\\t0 obs\. of  0 variables"
  Backtrace:
      ▆
   1. └─testthat::expect_output(...) at test-rating.R:16:2
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-rating.R:20:3): runs without date range ───────────────────────
  `str\(bart_factors\(\)\)` does not match "toRvik_data".
  Actual value: "'data\.frame':\\t0 obs\. of  0 variables"
  Backtrace:
      ▆
   1. └─testthat::expect_output(str(bart_factors()), "toRvik_data") at test-rating.R:20:2
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure (test-rating.R:21:3): runs without date range ───────────────────────
  `str\(bart_conf_factors\(\)\)` does not match "toRvik_data".
  Actual value: "'data\.frame':\\t0 obs\. of  0 variables"
  Backtrace:
      ▆
   1. └─testthat::expect_output(str(bart_conf_factors()), "toRvik_data") at test-rating.R:21:2
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  
  [ FAIL 6 | WARN 0 | SKIP 4 | PASS 36 ]
  Error: Test failures
  Execution halted