Running 'aunitizer.R' [3s]
  Running 'runtt.R' [249s]
  Running 'testpkg1.R' [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
  *** arch - i386
  *** arch - x64
  ** testing if installed package can be loaded from final location
  *** arch - i386
  *** arch - x64
  ** 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
  *** arch - i386
  *** arch - x64
  ** testing if installed package can be loaded from final location
  *** arch - i386
  *** arch - x64
  ** 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
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  *** arch - i386
  *** arch - x64
  ** testing if installed package can be loaded from final location
  *** arch - i386
  *** arch - x64
  ** testing if installed package keeps a record of temporary installation path
  * DONE (utzflm)
  setup demos
  v |  OK F W S | Context
  
  / |   0       | testthat.browse                                                 
  / |   0       | Browse                                                          
  / |   4       | Browse                                                          
  \ |   6       | Browse                                                          
  - |  13       | Browse                                                          
  \ |  18       | Browse                                                          
  v |  20       | Browse [1.5 s]
  
  / |   0       | testthat.capture                                                
  / |   0       | Capture                                                         
  - |  15   2   | Capture                                                         
  / |  34   2   | Capture                                                         
  - |  35   2   | Capture                                                         
  v |  39   2   | Capture [0.6 s]
  --------------------------------------------------------------------------------
  Warning (testthat.capture.R:91:3): get_text
  incomplete final line found on 'D:\temp\Rtmpy4C7O5\file17de055d63ae'
  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 'D:\temp\Rtmpy4C7O5\file17de055d63ae'
  Backtrace:
   1. testthat::expect_match(readLines(f), "boogiewoogie") testthat.capture.R:91:2
   2. base::readLines(f)
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.change                                                 
  / |   0       | Change                                                          
  v |   4       | Change
  
  / |   0       | testthat.demo                                                   
  / |   0       | Demo                                                            
  / |   8       | Demo                                                            
  | |  15       | Demo                                                            
  - |  17       | Demo                                                            
  | |  19       | Demo                                                            
  / |  20       | Demo                                                            
  - |  21       | Demo                                                            
  \ |  22       | Demo                                                            
  | |  23       | Demo                                                            
  v |  24       | Demo [40.0 s]
  
  / |   0       | testthat.error                                                  
  / |   0       | Error                                                           
  - |   5       | Error                                                           
  v |   5       | Error [0.2 s]
  
  / |   0       | testthat.exec                                                   
  / |   0       | Exec                                                            
  \ |  18       | Exec                                                            
  v |  32       | Exec [0.2 s]
  
  / |   0       | testthat.get                                                    
  / |   0       | Get                                                             
  \ |  10       | Get                                                             
  / |  16       | Get                                                             
  | |  18   1   | Get                                                             
  | |  24   3   | Get                                                             
  \ |  27   3   | Get                                                             
  - |  34   3   | Get                                                             
  / |  45   3   | Get                                                             
  \ |  63   3   | Get                                                             
  / |  77   3   | Get                                                             
  v |  79   3 1 | Get [1.5 s]
  --------------------------------------------------------------------------------
  Warning (???): load/store_unitizer
  Slot `cons` does not exist in current version of `unitizer` so not added to object.
  Backtrace:
    1. unitizer:::load_unitizers(...)
    2. base::lapply(unitizers[toup.idx], upgrade)
    4. unitizer:::FUN(X[[i]], ...)
   10. unitizer:::upgrade_internal(object)
   11. unitizer:::addSlot(object, "cons", NULL)
  
  Warning (???): load/store_unitizer
  Slot `jump.to.test` does not exist in current version of `unitizer` so not added to object.
  Backtrace:
    1. unitizer:::load_unitizers(...)
    2. base::lapply(unitizers[toup.idx], upgrade)
    4. unitizer:::FUN(X[[i]], ...)
   10. unitizer:::upgrade_internal(object)
   11. unitizer:::addSlot(object, "jump.to.test", 0L)
  
  Warning (???): load/store_unitizer
  Upgraded test file does not match original test file ('internals.R' vs 'NA').
  Backtrace:
   1. unitizer:::load_unitizers(...)
  
  Skip (testthat.get.R:440:5): test file / store manip
  Reason: fails CRAN
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.global                                                 
  / |   0       | Global                                                          
  v |   5       | Global
  
  / |   0       | testthat.handledruns                                            
  / |   0       | Handled Runs                                                    
  - |   1       | Handled Runs                                                    
  \ |   2       | Handled Runs                                                    
  | |   3       | Handled Runs                                                    
  / |   4       | Handled Runs                                                    
  v |   5       | Handled Runs [1.4 s]
  
  / |   0       | testthat.inpkg                                                  
  / |   0       | In Package                                                      
  - |   1       | In Package                                                      
  v |   3       | In Package [11.3 s]
  
  / |   0       | testthat.ischecks                                               
  / |   0       | is checks                                                       
  v |  16       | is checks
  
  / |   0       | testthat.item                                                   
  / |   0       | Item                                                            
  - |   1       | Item                                                            
  | |  19       | Item                                                            
  / |  24       | Item                                                            
  | |  35       | Item                                                            
  \ |  42       | Item                                                            
  \ |  46       | Item                                                            
  - |  48     1 | Item                                                            
  | |  54     1 | Item                                                            
  \ |  57     1 | Item                                                            
  v |  58     1 | Item [1.7 s]
  --------------------------------------------------------------------------------
  Skip (testthat.item.R:406:5): Error Display
  Reason: empty test
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.list                                                   
  / |   0       | List                                                            
  - |  25       | List                                                            
  v |  47       | List [0.2 s]
  
  / |   0       | testthat.misc                                                   
  / |   0       | Misc                                                            
  | |  23       | Misc                                                            
  - |  45       | Misc                                                            
  - |  69       | Misc                                                            
  - |  76     1 | Misc                                                            
  v |  79     1 | Misc [0.5 s]
  --------------------------------------------------------------------------------
  Skip (testthat.misc.R:322:3): pretty_path
  Reason: fails CRAN
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.options                                                
  / |   0       | Options                                                         
  v |   2       | Options
  
  / |   0       | testthat.parse                                                  
  / |   0       | Parse                                                           
  \ |  13 1     | Parse                                                           
  | |  18 1     | Parse                                                           
  | |  26 1     | Parse                                                           
  \ |  35 2   1 | Parse                                                           
  x |  35 2   1 | Parse [0.5 s]
  --------------------------------------------------------------------------------
  FAILURE (testthat.parse.R:138:5): Clean up Parse Data
  list(...) not equal to ...[].
  Component "id": Mean relative difference: 0.0859375
  Component "parent": Mean relative difference: 0.07268722
  `for` cleanup
  
  Skip (testthat.parse.R:279:3): empty symbols handled okay
  Reason: empty test
  
  ERROR (testthat.parse.R:338:5): NULL, constants, and new tokens
  Error: Advanced Parse Error: unexpected tokens in parse data (equal_assignequal_assign).
  Backtrace:
   1. testthat::expect_equal(...) testthat.parse.R:338:4
   5. unitizer:::parse_with_comments(text = txt)
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.prompt                                                 
  / |   0       | Prompt                                                          
  / |  16       | Prompt                                                          
  v |  30       | Prompt [0.2 s]
  
  / |   0       | testthat.random                                                 
  / |   0       | random                                                          
  \ |   0   2   | random                                                          
  / |   0   4   | random                                                          
  v |   1   4   | random [0.5 s]
  --------------------------------------------------------------------------------
  Warning (???): random seed
  It appears you are running unitizer inside an error handling function such as 
  `withCallingHanlders`, `tryCatch`, or `withRestarts`.  This is strongly dis-
  couraged as it may cause unpredictable behavior from unitizer in the event tests
  produce conditions / errors.  We strongly recommend you re-run your tests 
  outside of such handling functions.
  Backtrace:
   1. unitizer::unitize(file, auto.accept = "new")
   2. unitizer:::unitize_core(...)
   3. unitizer:::check_call_stack()
  
  Warning (???): random seed
  Unable to capture history in non-interactive mode.
  Backtrace:
   1. unitizer::unitize(file, auto.accept = "new")
   2. unitizer:::unitize_core(...)
   6. unitizer:::unitize_browse(...)
   7. unitizer:::history_capt(history)
  
  Warning (???): random seed
  It appears you are running unitizer inside an error handling function such as 
  `withCallingHanlders`, `tryCatch`, or `withRestarts`.  This is strongly dis-
  couraged as it may cause unpredictable behavior from unitizer in the event tests
  produce conditions / errors.  We strongly recommend you re-run your tests 
  outside of such handling functions.
  Backtrace:
   1. unitizer::unitize(file)
   2. unitizer:::unitize_core(...)
   3. unitizer:::check_call_stack()
  
  Warning (???): random seed
  Unable to capture history in non-interactive mode.
  Backtrace:
   1. unitizer::unitize(file)
   2. unitizer:::unitize_core(...)
   6. unitizer:::unitize_browse(...)
   7. unitizer:::history_capt(history)
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.rrename                                                
  / |   0       | Rename                                                          
  - |   5       | Rename                                                          
  v |   8   1   | Rename [0.1 s]
  --------------------------------------------------------------------------------
  Warning (???): Rename Works
  This is an experimental function; make sure you backup any unitizers before you edit them
  Backtrace:
   1. unitizer::editCalls(x, quote(x), quote(y), interactive.only = TRUE)
   2. unitizer::editCalls(x, quote(x), quote(y), interactive.only = TRUE)
   3. unitizer:::.local(x, lang.old, lang.new, ...)
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.rrepairenvs                                            
  / |   0       | Repair Envs                                                     
  - |   5       | Repair Envs                                                     
  - |   9       | Repair Envs                                                     
  v |  10       | Repair Envs [0.3 s]
  
  / |   0       | testthat.search                                                 
  / |   0       | Search                                                          
  - |   9       | Search                                                          
  \ |  14       | Search                                                          
  - |  37       | Search                                                          
  / |  40       | Search                                                          
  \ |  42       | Search                                                          
  v |  46       | Search [1.8 s]
  
  / |   0       | testthat.section                                                
  / |   0       | Section                                                         
  \ |  18       | Section                                                         
  / |  20       | Section                                                         
  v |  22       | Section [0.3 s]
  
  / |   0       | testthat.shim                                                   
  / |   0       | Shim                                                            
  \ |  22       | Shim                                                            
  - |  33       | Shim                                                            
  / |  44       | Shim                                                            
  - |  51   2   | Shim                                                            
  v |  53   2   | Shim [0.5 s]
  --------------------------------------------------------------------------------
  Warning (???): Checks, errors, etc.
  Failed attempting to trace `library`; see prior errors
  Backtrace:
   1. untz.glob$shimFun("library")
  
  Warning (???): Checks, errors, etc.
  Function `library` was not traced even though tracing attempt did not produce errors.
  Backtrace:
   1. testthat::expect_message(untz.glob$shimFun("library"), "random")
   6. untz.glob$shimFun("library")
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.state                                                  
  / |   0       | State                                                           
  \ |  13     1 | State                                                           
  | |  14     1 | State                                                           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
  
  \ |  24   1 1 | State                                                           
  / |  38   1 1 | State                                                           
  v |  52   1 2 | State [2.4 s]
  --------------------------------------------------------------------------------
  Skip (testthat.state.R:52:3): All Equal States
  Reason: empty test
  
  Warning (testthat.state.R:163:7): as.state
  in_pkg() test did not work
  
  Skip (testthat.state.R:368:3): invalid states
  Reason: empty test
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.text                                                   
  / |   0       | Text                                                            
  / |  16       | Text                                                            
  \ |  42       | Text                                                            
  v |  74       | Text [0.3 s]
  
  / |   0       | testthat.translate                                              
  / |   0       | Translate                                                       
  - |   1       | Translate                                                       
  \ |   2       | Translate                                                       
  | |   7       | Translate                                                       
  v |  10       | Translate [2.0 s]
  
  / |   0       | testthat.upgrade                                                
  / |   0       | Upgrade                                                         
  / |   4       | Upgrade                                                         
  | |   9   2   | Upgrade                                                         
  / |  10   2   | Upgrade                                                         
  v |  11   2   | Upgrade [0.5 s]
  --------------------------------------------------------------------------------
  Warning (???): Later but valid version
  It appears you are running unitizer inside an error handling function such as 
  `withCallingHanlders`, `tryCatch`, or `withRestarts`.  This is strongly dis-
  couraged as it may cause unpredictable behavior from unitizer in the event tests
  produce conditions / errors.  We strongly recommend you re-run your tests 
  outside of such handling functions.
  Backtrace:
   1. unitizer::unitize(test.file, auto.accept = "new")
   2. unitizer:::unitize_core(...)
   3. unitizer:::check_call_stack()
  
  Warning (???): Later but valid version
  Unable to capture history in non-interactive mode.
  Backtrace:
   1. unitizer::unitize(test.file, auto.accept = "new")
   2. unitizer:::unitize_core(...)
   6. unitizer:::unitize_browse(...)
   7. unitizer:::history_capt(history)
  --------------------------------------------------------------------------------
  
  / |   0       | testthat.utz1                                                   
  / |   0       | Unitize                                                         
  - |   1       | Unitize                                                         
  
  \ |   6       | Unitize                                                         
  \ |  10       | Unitize                                                         
  | |  23       | Unitize                                                         
  | |  27       | Unitize                                                         
  - |  29       | Unitize                                                         
  | |  31       | Unitize                                                         
  / |  44       | Unitize                                                         
  - |  45       | Unitize                                                         
  v |  46       | Unitize [74.2 s]
  
  / |   0       | testthat.utz2                                                   
  / |   0       | Unitize 2                                                       
  - |   1       | Unitize 2                                                       
  \ |   2       | Unitize 2                                                       
  - |   5       | Unitize 2                                                       
  \ |   6       | Unitize 2                                                       
  | |   7       | Unitize 2                                                       
  - |   9       | Unitize 2                                                       
  \ |  10       | Unitize 2                                                       
  | |  11       | Unitize 2                                                       
  - |  13       | Unitize 2                                                       
  
  v |  15       | Unitize 2 [42.7 s]
  
  / |   0       | testthat.zzrunlast                                              ALL TESTS COMPLETED!
  
  == Results =====================================================================
  Duration: 186.1 s
  
  -- Skipped tests  --------------------------------------------------------------
  * empty test (4)
  * fails CRAN (2)
  
  [ FAIL 2 | WARN 15 | SKIP 6 | PASS 831 ]
  Error: Test failures
  Execution halted