Running 'testthat.R' [262s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(manydata)
  manydata 0.9.3
  Please see manydata.ch for more information.
  Type 'citation("manydata")' for citing this R package in publications.
  > 
  > test_check("manydata")
  There were 116 matched observations by ID variable across datasets in datacube.There were 116 matched observations by ID variable across datasets in datacube.There were 116 matched observations by ID variable across datasets in datacube.There were 116 matched observations by ID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.There were 5 matched observations by manyID variable across datasets in datacube.[ FAIL 3 | WARN 3 | SKIP 3 | PASS 119 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test_UNRV.R:33:3', 'test_britannica.R:33:3',
    'test_wikipedia.R:33:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_compare.R:51:3'): compare_ranges() returns the correct output format ──
  db$Mean[5] not equal to "275-04-23".
  1/1 mismatches
  x[1]: "NaN"
  y[1]: "275-04-23"
  ── Failure ('test_compare.R:52:3'): compare_ranges() returns the correct output format ──
  db$Median[6] not equal to "276-09-16".
  1/1 mismatches
  x[1]: NA
  y[1]: "276-09-16"
  ── Error ('test_consolidate.R:118:3'): consolidate methods work ────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ...)`: ℹ In index: 1.
  ℹ With name: date.x.
  Caused by error in `if (any(is_bce(dates))) ...`:
  ! missing value where TRUE/FALSE needed
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test_consolidate.R:118:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─manydata::consolidate(...)
    5. │ └─manydata:::resolve_multiple(resolve, out, key)
    6. │   └─manydata:::resolve_min(resolve$var[k], out, key)
    7. │     └─purrr::map_df(...)
    8. │       └─purrr::map(.x, .f, ...)
    9. │         └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   10. │           ├─purrr:::with_indexed_errors(...)
   11. │           │ └─base::withCallingHandlers(...)
   12. │           ├─purrr:::call_with_cleanup(...)
   13. │           └─manydata (local) .f(.x[[i]], ...)
   14. │             ├─base::as.Date(x, min)
   15. │             └─messydates:::as.Date.mdate(x, min)
   16. │               └─messydates:::min.mdate(`<mdate>`, na.rm = FALSE)
   17. └─base::.handleSimpleError(...)
   18.   └─purrr (local) h(simpleError(msg, call))
   19.     └─cli::cli_abort(...)
   20.       └─rlang::abort(...)
  
  [ FAIL 3 | WARN 3 | SKIP 3 | PASS 119 ]
  Error: Test failures
  Execution halted