Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(fmtr)
  > 
  > test_check("fmtr")
  -- 1. Error: fapply() function works as expected with flist (@test-fapply.R#87) 
  could not find function "deparse1"
  Backtrace:
   1. fmtr::flist(...)
  
  -- 2. Error: as.data.frame.fcat() function works as expected (@test-fcat.R#37)  
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(c1)
   2. fmtr:::as.data.frame.fcat(c1)
   3. fmtr:::as.data.frame.fmt(x[[nm]], name = nm)
  
  -- 3. Error: as.fcat.data.frame() function works as expected (@test-fcat.R#63)  
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(c1)
   2. fmtr:::as.data.frame.fcat(c1)
   3. fmtr:::as.data.frame.fmt(x[[nm]], name = nm)
  
  -- 4. Error: write.fcat and read.fcat functions work as expected. (@test-fcat.R#
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(c2)
   2. fmtr:::as.data.frame.fcat(c2)
   3. fmtr:::as.data.frame.fmt(x[[nm]], name = nm)
  
  -- 5. Error: fcat printing works as expected. (@test-fcat.R#146)  --------------
  could not find function "deparse1"
  Backtrace:
    1. testthat::expect_output(print(c1, verbose = TRUE))
   15. fmtr:::print.fmt(x)
   17. fmtr:::as.data.frame.fmt(x, name = name)
  
  -- 6. Failure: fcat can be applied to a data frame with formats function. (@test
  fdat[1, "AGE"] not equal to "25.4".
  'current' is not a factor
  
  -- 7. Failure: fcat can be applied to a data frame with formats function. (@test
  fdat[2, "CATEGORY"] not equal to "Label B".
  'current' is not a factor
  
  -- 8. Failure: fcat can be applied to a data frame with formats function. (@test
  fdat[1, "AGE"] not equal to "25.4".
  'current' is not a factor
  
  -- 9. Error: as.fcat.tbl_df works as expected. (@test-fcat.R#237)  -------------
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(c1)
   2. fmtr:::as.data.frame.fcat(c1)
   3. fmtr:::as.data.frame.fmt(x[[nm]], name = nm)
  
  -- 10. Error: fdata() function works as expected with list of formats. (@test-fd
  could not find function "deparse1"
  Backtrace:
   1. fmtr::flist(...)
  
  -- 11. Failure: fdata() function restores any labels. (@test-fdata.R#130)  -----
  attr(fmt_fb$catc, "label") not equal to "My Labels".
  target is NULL, current is character
  
  -- 12. Error: flist() function works as expected. (@test-flist.R#6)  -----------
  could not find function "deparse1"
  Backtrace:
   1. fmtr::flist(...)
  
  -- 13. Error: flist works as expected for row type with lookup. (@test-flist.R#2
  could not find function "deparse1"
  Backtrace:
   1. fmtr::flist(...)
  
  -- 14. Error: as.data.frame.flist works as expected. (@test-flist.R#127)  ------
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(fl2)
   2. fmtr:::as.data.frame.fmt_lst(fl2)
   3. base::data.frame(...)
  
  -- 15. Error: as.data.frame.flist works as expected with no names. (@test-flist.
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(fl2)
   2. fmtr:::as.data.frame.fmt_lst(fl2)
   3. base::data.frame(...)
  
  -- 16. Error: as.fcat.fmt_lst() works as expected. (@test-flist.R#161)  --------
  could not find function "deparse1"
  Backtrace:
   1. fmtr::flist(...)
  
  -- 17. Error: as.data.frame.fmt function works as expected (@test-fmt.R#157)  --
  could not find function "deparse1"
  Backtrace:
   1. base::as.data.frame(fmt1)
   2. fmtr:::as.data.frame.fmt(fmt1)
  
  -- 18. Error: as.fmt.data.frame function works as expected (@test-fmt.R#176)  --
  argument must be character
  Backtrace:
   1. fmtr::as.fmt(dat)
   2. fmtr:::as.fmt.data.frame(dat)
   3. base::str2lang(x[i, "Expression"])
  
  -- 19. Error: print.fmt function works as expected (@test-fmt.R#200)  ----------
  could not find function "deparse1"
  Backtrace:
    1. testthat::expect_output(print(fmt1))
   11. fmtr:::print.fmt(fmt1)
   13. fmtr:::as.data.frame.fmt(x, name = name)
  
  -- 20. Error: as.fmt.data.frame function works as expected with caps. (@test-fmt
  argument must be character
  Backtrace:
   1. fmtr::as.fmt(dat)
   2. fmtr:::as.fmt.data.frame(dat)
   3. base::str2lang(x[i, "Expression"])
  
  == testthat results  ===========================================================
  [ OK: 73 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 20 ]
  1. Error: fapply() function works as expected with flist (@test-fapply.R#87) 
  2. Error: as.data.frame.fcat() function works as expected (@test-fcat.R#37) 
  3. Error: as.fcat.data.frame() function works as expected (@test-fcat.R#63) 
  4. Error: write.fcat and read.fcat functions work as expected. (@test-fcat.R#98) 
  5. Error: fcat printing works as expected. (@test-fcat.R#146) 
  6. Failure: fcat can be applied to a data frame with formats function. (@test-fcat.R#171) 
  7. Failure: fcat can be applied to a data frame with formats function. (@test-fcat.R#172) 
  8. Failure: fcat can be applied to a data frame with formats function. (@test-fcat.R#173) 
  9. Error: as.fcat.tbl_df works as expected. (@test-fcat.R#237) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted