Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cchsflow)
  Loading required package: haven
  Loading required package: dplyr
  
  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
  
  Loading required package: sjlabelled
  
  Attaching package: 'sjlabelled'
  
  The following object is masked from 'package:dplyr':
  
      as_label
  
  The following objects are masked from 'package:haven':
  
      as_factor, read_sas, read_spss, read_stata, write_sas, zap_labels
  
  Loading required package: stringr
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > 
  > test_check("cchsflow")
  -- 1. Error: rec_with_table matches the standard 2001 recode (@test-recode-with-
  object 'tibble_restore_impl' not found
  Backtrace:
    1. base::suppressWarnings(cchsflow::rec_with_table(cchs2001_p, note = FALSE))
   23. tibble:::`[.tbl_df`(group_data, `_i`, , drop = FALSE)
   24. tibble:::vectbl_restore(xo, x)
  
  -- 2. Error: rec_with_table matches the standard 2003 recode (@test-recode-with-
  object 'tibble_restore_impl' not found
  Backtrace:
    1. base::suppressWarnings(cchsflow::rec_with_table(cchs2003_p, note = FALSE))
   23. tibble:::`[.tbl_df`(group_data, `_i`, , drop = FALSE)
   24. tibble:::vectbl_restore(xo, x)
  
  -- 3. Error: rec_with_table matches the standard 2005 recode (@test-recode-with-
  object 'tibble_restore_impl' not found
  Backtrace:
    1. base::suppressWarnings(cchsflow::rec_with_table(cchs2005_p, note = FALSE))
   23. tibble:::`[.tbl_df`(group_data, `_i`, , drop = FALSE)
   24. tibble:::vectbl_restore(xo, x)
  
  == testthat results  ===========================================================
  [ OK: 180 | SKIPPED: 0 | WARNINGS: 5 | FAILED: 3 ]
  1. Error: rec_with_table matches the standard 2001 recode (@test-recode-with-table.R#3) 
  2. Error: rec_with_table matches the standard 2003 recode (@test-recode-with-table.R#11) 
  3. Error: rec_with_table matches the standard 2005 recode (@test-recode-with-table.R#19) 
  
  Error: testthat unit tests failed
  Execution halted