Running ‘testthat.R’ [27s/42s]
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(1), quietly = TRUE))) {
  +   
  +   library(testthat)
  +   library(grattan)
  +   library(dplyr)
  +   library(dtplyr)
  +   
  +   library(data.table)
  +   if (requireNamespace("taxstats", quietly = TRUE)){
  +     library(taxstats)
  +   }
  +   
  +   library(magrittr)
  +   library(survey)
  +   library(zoo)
  +   library(hutils)
  +   
  +   test_check("grattan")
  + }
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'data.table'
  
  The following objects are masked from 'package:dplyr':
  
      between, first, last
  
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: grid
  Loading required package: Matrix
  Loading required package: survival
  
  Attaching package: 'survey'
  
  The following object is masked from 'package:graphics':
  
      dotchart
  
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  
  Attaching package: 'hutils'
  
  The following objects are masked from 'package:dplyr':
  
      coalesce, if_else
  
  ── 1. Failure: Inverse long income matches. (@test_inverse_income.R#38)  ───────
  all(...) isn't true.
  income <- 315752 207234
  fy.year <- 2014-15
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 232 SKIPPED: 53 FAILED: 1
  1. Failure: Inverse long income matches. (@test_inverse_income.R#38) 
  
  Error: testthat unit tests failed
  Execution halted