Running 'testthat.R' [33s/31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > all.pkgs <- c("testthat", "dplyr", "dtplyr", "data.table", "magrittr", "survey", "zoo")
  > 
  > 
  > if (all(vapply(all.pkgs, requireNamespace, logical(1L), quietly = TRUE))) {
  +   
  +   library(testthat)
  +   library(grattan)
  +   library(hutils)
  +   library(data.table)
  +   library(magrittr)
  +   
  +   if (identical(Sys.getenv("CIRCLECI"), "true")) {
  +     test_check("grattan",
  +                reporter = JunitReporter$new(file = "junit_result.xml"))
  +   } else {
  +     test_check("grattan")
  +   }
  + }
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  == Skipped tests ===============================================================
  * All fys have full quarters in this release. (2)
  * Government calculator using wrong thresholds (1)
  * Government calculator wrong at 2017-02-18 (1)
  * Govt calculator using wrong thresholds (1)
  * Issue 50 unresolved (1)
  * Not yet implemented (2)
  * On CRAN (57)
  * identical(date2fy(Sys.Date()), "2019-20") is not TRUE (1)
  * taxstats cannot be loaded (43)
  * threshold on https://www.humanservices.gov.au/individuals/enablers/personal-income-test-austudy-and-youth-allowance/30411 contradicts taper rates (1)
  
  == Failed tests ================================================================
  -- Failure (test_append_custom_series.R:86:3): As applied with inflators -------
  `lf_inflator_fy(...)` threw an error with unexpected message.
  Expected match: "`lf.series$fy_year` had the required financial years but not in the correct order."
  Actual message: "`lf.series$fy_year` did not have the required financial years.\n\n`lf.series$fy_year` was\n\tc(\"2021-22\", \"2023-24\", \"2022-23\")\nbut needs to include\n\tc(\"2020-21\", \"2021-22\", \"2022-23\", \"2023-24\")."
  Backtrace:
      x
   1. +-testthat::expect_error(...) test_append_custom_series.R:86:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-grattan::lf_inflator_fy(...)
   7.   \-grattan:::append_custom_series(...)
   8.     \-grattan:::standardize_custom_series(custom.series, cs = cs, req.fys = reqd_fys)
   9.       \-grattan:::stopn(...)
  
  [ FAIL 1 | WARN 0 | SKIP 110 | PASS 819 ]
  Error: Test failures
  Execution halted