Running ‘aunitizer.R’ [2s/4s]
  Running ‘runtt.R’ [5s/9s]
  Running ‘testpkg1.R’ [1s/1s]
Running the tests in ‘tests/aunitizer.R’ failed.
Complete output:
  > # Note, this assumes the WD is set to "tests" (i.e. as if run by R CMD check)
  > 
  > library(unitizer)
  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.
  > library(testthat)
  > 
  > unitize("unitizer/tests2.R")
  
  
                                                                                  
  Preloads...
                                                                                  
  Loading unitizer data...
                                                                                  
  Parsing tests...
                                                                                  
  Parsing unitizer/tests2.R
                                                                                  
  
                                                                                  
  set.seed(1, kind = "Wichmann-Hill")
                                                                                  
  1 + 1
                                                                                  
  print("heya")
                                                                                  
  stop("wow")
                                                                                  
  matrix(runif(21), nrow = 3)
                                                                                  
  lm(x ~ y, data.frame(x = 1:10, y = 2 * (1:10)))
                                                                                  
  warning("this is a warning\nthat\nspans\nmany\nlines")
                                                                                  
  data.frame(a = 1:20, b = letters[1:20])
                                                                                  
  
                                                                                  
  Prepping Unitizers...Warning in history_capt(history) :
    Unable to capture history in non-interactive mode.
  
                                                                                  
  | 6/6 tests passed; nothing to review.
  
  > unitize("unitizer/sectionsRCMDCHECK.R")
  
  
                                                                                  
  Preloads...
                                                                                  
  Loading unitizer data...
                                                                                  
  Parsing tests...
                                                                                  
  Parsing unitizer/sectionsRCMDCHECK.R
                                                                                  
  
                                                                                  
  set.seed(1)
                                                                                  
  1 + 1 + 1/10^16
                                                                                  
  print("heya")
                                                                                  
  3 + 5
                                                                                  
  matrix(sample(1:9), nrow = 3)
                                                                                  
  stop("wow")
                                                                                  
  1 + 2 + 1/10^16
                                                                                  
  print("heya there")
                                                                                  
  warning("wow")
                                                                                  
  
                                                                                  
  Prepping Unitizers...Warning in history_capt(history) :
    Unable to capture history in non-interactive mode.
  
                                                                                  
  +------------------------------------------------------------------------------+
  | unitizer for: unitizer/sectionsRCMDCHECK.R                                   |
  +------------------------------------------------------------------------------+
  
                 Pass Fail
    basic tests     3    1
   strict tests     2    -
  ........................
                    5    1
  
  = basic tests ==================================================================
  
  - Failed -----------------------------------------------------------------------
  
  | The following test failed because the new evaluation does not match the 
  | reference value from the store. Overwrite with new result ([Y]es, [N]o, 
  | [P]rev, [B]rowse, [R]erun, [Q]uit, [H]elp)?
  
  > matrix(sample(1:9), nrow = 3)
       [,1] [,2] [,3]
  [1,]    5    3    1
  [2,]    9    8    2
  [3,]    4    7    6
  
  | Value mismatch: 
  
  < .ref                 > .new               
  @@ 1,4 @@              @@ 1,4 @@            
         [,1] [,2] [,3]         [,1] [,2] [,3]
  < [1,]    2    9    7  > [1,]    5    3    1
  < [2,]    8    5    3  > [2,]    9    8    2
  < [3,]    6    4    1  > [3,]    4    7    6
  
  | State mismatch; see `.DIFF$state` for details.
  
  | User input required to proceed, but we are in non-interactive mode.
  
  | unitizer unchanged.
  
  |   * Fail: matrix(sample(1:9), nrow = 3)
  | in 'unitizer/sectionsRCMDCHECK.R'
  
  | Newly evaluated tests do not match unitizer (Pass: 5, Fail: 1); see above for 
  | more info, or run in interactive mode.
  
  Error in unitize_core(test.file.inf, list(store.id.inf), state = state,  : 
    Cannot proceed in non-interactive mode.
  Calls: unitize -> unitize_core
  Execution halted
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
  Installing package into '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages'
  (as 'lib' is unspecified)
  Warning in install.packages(pkg, repos = NULL, type = "src") :
    'lib = "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages"' is not writable
  Error in install.packages(pkg, repos = NULL, type = "src") : 
    unable to install packages
  Error in eval(quote({ : install error
  Calls: source ... local -> eval.parent -> eval -> eval -> eval -> eval
  Removing packages from '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages'
  (as 'lib' is unspecified)
  Error in find.package(pkgs, lib) : 
    there are no packages called 'unitizerdummypkg1', 'unitizerdummypkg2', 'utzflm'
  Calls: source ... local -> eval.parent -> eval -> eval -> eval -> eval
  Execution halted