Running ‘aunitizer.R’ [3s/3s]
  Running ‘runtt.R’ [13s/19s]
  Running ‘testpkg1.R’ [1s/1s]
Running the tests in ‘tests/runtt.R’ failed.
Complete output:
  > if(require(testthat)) {
  +   # used to be in here, but had to move to see error messages under travis
  + 
  +   suppressWarnings(RNGversion("3.5.2"));
  +   source('testthat/helper/runtt.R', local=TRUE)
  +   RNGversion(as.character(getRversion()))
  + } else {
  +   warning("Cannot run tests without `testthat` available")
  + }
  Loading required package: testthat
  State tracking is disabled by default to comply with CRAN policies. Add `options(unitizer.state='suggested')` to your 'Rprofile' file to enable, or `options(unitizer.state='off')` to quash this message without enabling.  Prior to enabling, be sure to read `?unitizerState`,in particular the 'CRAN non-compliance' section.
  setup packages
  * installing *source* package ‘unitizerdummypkg1’ ...
  ** using staged installation
  ** R
  ** byte-compile and prepare package for lazy loading
  ** help
  No man pages found in package  ‘unitizerdummypkg1’ 
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (unitizerdummypkg1)
  * installing *source* package ‘unitizerdummypkg2’ ...
  ** using staged installation
  ** R
  ** byte-compile and prepare package for lazy loading
  ** help
  No man pages found in package  ‘unitizerdummypkg2’ 
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (unitizerdummypkg2)
  * installing *source* package ‘utzflm’ ...
  ** using staged installation
  ** R
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
    converting help for package ‘utzflm’
      finding HTML links ... done
      fastlm                                  html  
      get_slope                               html  
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (utzflm)
  setup demos
  ✔ |  OK F W S | Context
  
  ⠏ |   0       | testthat.browse                                                 
  ⠏ |   0       | Browse                                                          
  ⠸ |   4       | Browse                                                          
  ⠴ |   6       | Browse                                                          
  ⠹ |  13       | Browse                                                          
  ⠧ |  18       | Browse                                                          
  ✔ |  20       | Browse [1.5 s]
  
  ⠏ |   0       | testthat.capture                                                
  ⠏ |   0       | Capture                                                         
  ⠴ |  24   2   | Capture                                                         
  ⠦ |  35   2   | Capture                                                         
  ✔ |  39   2   | Capture [0.5 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (testthat.capture.R:91:3): get_text
  incomplete final line found on '/tmp/RtmpvramKV/file12a354d5099b'
  Backtrace:
   1. testthat::expect_match(readLines(f), "boogiewoogie") testthat.capture.R:91:2
   4. base::readLines(f)
  
  Warning (testthat.capture.R:91:3): get_text
  incomplete final line found on '/tmp/RtmpvramKV/file12a354d5099b'
  Backtrace:
   1. testthat::expect_match(readLines(f), "boogiewoogie") testthat.capture.R:91:2
   2. base::readLines(f)
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.change                                                 
  ⠏ |   0       | Change                                                          
  ✔ |   4       | Change
  
  ⠏ |   0       | testthat.demo                                                   
  ⠏ |   0       | Demo                                                            
  
                                                                                  
  Preloads...
                                                                                  
  Loading unitizer data...
                                                                                  
  Parsing tests...
                                                                                  
  Parsing unitizer/fastlm1.R
                                                                                  
  
                                                                                  
  library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
                                                                                  
  dat <- data.frame(x = 1:100, y = (1:100)^2)
                                                                                  
  res <- fastlm(dat$x, dat$y)
                                                                                  
  res
                                                                                  
  get_slope(res)
                                                                                  
  get_rsq(res)
                                                                                  
  fastlm(1:100, 1:10)
                                                                                  
  
                                                                                  
  Prepping Unitizers...
                                                                                  
  +------------------------------------------------------------------------------+
  | unitizer for: unitizer/fastlm1.R                                             |
  +------------------------------------------------------------------------------+
  
               Pass Fail  New
   <untitled>     -    -    4
  ...........................
                  -    -    4
  
  - New --------------------------------------------------------------------------
  
  | The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev, 
  | [B]rowse, [R]erun, [Q]uit, [H]elp)?
  
  # Assignments and calls to `library` are not considered tests by
  # `unitizer` so you will not need to review them
  
  > library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
  > dat <- data.frame(x = 1:100, y = (1:100)^2)
  > res <- fastlm(dat$x, dat$y)
  
  # The `unitizer>` prompt is like the standard R prompt. You may
  # enter expressions such as `lm(y ~ x, dat)$coefficients`, or
  # `str(res)`.
  #
  # Once you are done reviewing, you need to tell `unitizer` you
  # accept the test by typing 'Y' at the prompt.  Enter 'H' for help.
  
  > res
     intercept        slope          rsq 
  -1717.000000   101.000000     0.938679 
  attr(,"class")
  [1] "fastlm"
  
  unitizer> Y
  
  # There are three more tests to review; accept them with 'Y'
  
  > get_slope(res)
  [1] 101
  
  unitizer> Y
  
  > get_rsq(res)
  [1] 0.938679
  
  unitizer> Y
  
  # This last test is expected to cause an error; press 'Y' to
  # accept it so future checks can confirm the same error persists
  
  > fastlm(1:100, 1:10)
  Error in fastlm(1:100, 1:10) : 
    Arguments `x` and `y` must be the same length.
  Error in assign(".Traceback", res, envir = getNamespace("base")) : 
    cannot add binding of '.Traceback' to the base environment
  | Unexpectedly exited before storing unitizer; tests were not saved or changed.
  
  Execution halted