Running ‘aunitizer.R’ [3s/4s]
  Running ‘runtt.R’ [101s/200s]
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. Error: valid_con (@testthat.ischecks.R#30)  ──────────────────────────────
  invalid connection
  1: expect_match(unitizer:::is.open_con(con, f, writeable = TRUE), "should be writeable") at testthat/testthat.ischecks.R:30
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: unitizer:::is.open_con(con, f, writeable = TRUE)
  5: isTRUE(msg <- is.valid_con(x, file, readable, writeable))
  6: is.valid_con(x, file, readable, writeable)
  7: showConnections(all = TRUE)
  8: unlist(summary.connection(set[i]))
  9: summary.connection(set[i])
  
  ── 2. Failure: Items with conditions (@testthat.item.R#179)  ───────────────────
  capture.output(show(my.unitizer1a@items.new[[1L]])) has changed from known value recorded in '/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/unitizer.Rcheck/tests/testthat/helper/item/200.rds'.
  1/7 mismatches
  x[4]: "* message: 126 chars"
  y[4]: "* message: 12 chars"
  
  Error in in_pkg_to_env(x.raw@par.env, test.files) : 
    Unable to detect package to use namespace of as parent environment; see `?
  unitizerState` for how to specify a package namespace explicitly as a parent 
  environment.
  Error in unitizer:::as.state(unitizer:::unitizerStateRaw(par.env = in_pkg()),  : 
    Unable to convert `par.env` value to a namespace environment
  
  
  ALL TESTS COMPLETED!
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 860 SKIPPED: 6 FAILED: 2
  1. Error: valid_con (@testthat.ischecks.R#30) 
  2. Failure: Items with conditions (@testthat.item.R#179) 
  
  Error: testthat unit tests failed
  Removing packages from '/home/hornik/tmp/scratch/Rtmpner5De/RLIBS_4eb11f027e2e'
  (as 'lib' is unspecified)
  Execution halted