Running ‘aunitizer.R’ [4s/4s]
  Running ‘runtt.R’ [79s/82s]
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: deparse_mixed (@testthat.misc.R#107) -------------------------------
  unitizer:::deparse_mixed(x) not equal to "quote(1 + 1:3)".
  1/1 mismatches
  x[1]: "quote(1 + structure(1:3, .Names = c(\"a\", \"b\", \"c\")))"
  y[1]: "quote(1 + 1:3)"
  
  
  2. Failure: deparse_mixed (@testthat.misc.R#110) -------------------------------
  unitizer:::deparse_mixed(y) not equal to "quote(1 + 3 + 1:3)".
  1/1 mismatches
  x[1]: "quote(1 + 3 + structure(1:3, .Names = c(\"a\", \"b\", \"c\")))"
  y[1]: "quote(1 + 3 + 1:3)"
  
  
  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: 810 SKIPPED: 2 FAILED: 2
  1. Failure: deparse_mixed (@testthat.misc.R#107) 
  2. Failure: deparse_mixed (@testthat.misc.R#110) 
  
  Error: testthat unit tests failed
  Removing packages from '/tmp/RtmpsWaalC/RLIBS_6f0a293062b0'
  (as 'lib' is unspecified)
  Execution halted