Running ‘aunitizer.R’ [5s/7s]
  Running ‘runtt.R’ [13s/24s]
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
  + 
  +   source('testthat/helper/runtt.R', local=TRUE)
  + } 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='recommended')` to your 'Rprofile' file to enable, or `options(unitizer.state='off')` to quash this message without enabling.  See `?unitizerState` for details.
  setup packages
  setup demos
  ── 1. Failure: copy fastlm dir works (@testthat.demo.R#26)  ────────────────────
  readLines(file.path(.unitizer.fastlm, "DESCRIPTION"))[[5L]] not identical to "Version: 0.1.1".
  1/1 mismatches
  x[1]: "Version: 0.1.0"
  y[1]: "Version: 0.1.1"
  
  ── 2. Failure: copy fastlm dir works (@testthat.demo.R#31)  ────────────────────
  readLines(file.path(.unitizer.fastlm, "DESCRIPTION"))[[5L]] not identical to "Version: 0.1.2".
  1/1 mismatches
  x[1]: "Version: 0.1.0"
  y[1]: "Version: 0.1.2"
  
  
  
                                                                                  
  Preloads...
                                                                                  
  Loading unitizer data...
                                                                                  
  Parsing tests...
                                                                                  
  Parsing unitizer/fastlm1.R
                                                                                  
  
                                                                                  
  library(utzflm)
                                                                                  
  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)
  > 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"
  
  Error: Internal Error: ran out of predefined readline input; contact maintainer.
  | Unexpectedly exited before storing unitizer; tests were not saved or changed.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 80 SKIPPED: 0 FAILED: 2
  1. Failure: copy fastlm dir works (@testthat.demo.R#26) 
  2. Failure: copy fastlm dir works (@testthat.demo.R#31) 
  
  Error: testthat unit tests failed
  Removing packages from '/tmp/RtmpBOtpAP/RLIBS_61edf01ea5'
  (as 'lib' is unspecified)
  Execution halted
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/R/fastlm-package.r': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/R/fastlm.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/man/fastlm.Rd': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/man/get_slope.Rd': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/tests.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/unitizer/fastlm2.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/unitizer/fastlm1.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/unitizer/unitizer.fastlm.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/extra/del2.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/extra/del1.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/tests/extra/inpkg.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/R/fastlm-package.r': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/R/fastlm.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/man/fastlm.Rd': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/man/get_slope.Rd': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/tests.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/unitizer/fastlm2.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/unitizer/fastlm1.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/unitizer/unitizer.fastlm.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/extra/del2.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/extra/del1.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/tests/extra/inpkg.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/DESCRIPTION': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00_pkg_src/utzflm/NAMESPACE': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_INDEX': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_DESCRIPTION': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_Meta/links.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_Meta/Rd.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_Meta/hsearch.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_Meta/nsInfo.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_Meta/package.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_NAMESPACE': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_html/00Index.html': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_html/R.css': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_R/utzflm.rdb': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_R/utzflm': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_R/utzflm.rdx': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_help/utzflm.rdb': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_help/AnIndex': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_help/aliases.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_help/paths.rds': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm/_help/utzflm.rdx': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00install.out': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/startup.Rs': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/tests.Rout': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/tests.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/unitizer/fastlm2.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/unitizer/fastlm1.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/unitizer/unitizer.fastlm.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/extra/del2.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/extra/del1.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/tests/extra/inpkg.R': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/00check.log': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm-manual.log': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/utzflm-manual.pdf': Permission denied
  rm: cannot remove '/tmp/RtmpuAibf6/file2b3b17a04913/utzflm/utzflm.Rcheck/Rdlatex.log': Permission denied