Running ‘aunitizer.R’
  Running ‘runtt.R’ [118s/129s]
  Running ‘testpkg1.R’
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
  ** testing if installed package can be loaded from final location
  ** 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
  ** testing if installed package can be loaded from final location
  ** 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
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (utzflm)
  setup demos
  ✔ |  OK F W S | Context
  
  ⠏ |   0       | testthat.browse                                                 
  ⠏ |   0       | Browse                                                          
  ⠹ |   3       | Browse                                                          
  ⠸ |   4       | Browse                                                          
  ⠴ |   6       | Browse                                                          
  ⠹ |  13       | Browse                                                          
  ⠸ |  14       | Browse                                                          
  ✔ |  20       | Browse [1.8 s]
  
  ⠏ |   0       | testthat.capture                                                
  ⠏ |   0       | Capture                                                         
  ⠏ |   8   2   | Capture                                                         
  ⠼ |  23   2   | Capture                                                         
  ⠦ |  35   2   | Capture                                                         
  ✔ |  39   2   | Capture [0.8 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (testthat.capture.R:91:3): get_text
  incomplete final line found on '/tmp/RtmpeGy78B/working_dir/RtmpVXMf1j/file30604a2dbd55d5'
  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 '/tmp/RtmpeGy78B/working_dir/RtmpVXMf1j/file30604a2dbd55d5'
  Backtrace:
   1. testthat::expect_match(readLines(f), "boogiewoogie") testthat.capture.R:91:2
   2. base::readLines(f)
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.change                                                 
  ⠏ |   0       | Change                                                          
  ✔ |   4       | Change
  
  ⠏ |   0       | testthat.demo                                                   
  ⠏ |   0       | Demo                                                            
  ⠙ |   2       | Demo                                                            
  ⠧ |   8       | Demo                                                            
  ⠼ |  15       | Demo                                                            
  ⠦ |  17       | Demo                                                            
  ⠇ |  19       | Demo                                                            
  ⠏ |  20       | Demo                                                            
  ⠋ |  21       | Demo                                                            
  ⠙ |  22       | Demo                                                            
  ⠹ |  23       | Demo                                                            
  ✔ |  24       | Demo [18.4 s]
  
  ⠏ |   0       | testthat.error                                                  
  ⠏ |   0       | Error                                                           
  ⠹ |   3       | Error                                                           
  ⠼ |   5       | Error                                                           
  ✔ |   5       | Error [0.3 s]
  
  ⠏ |   0       | testthat.exec                                                   
  ⠏ |   0       | Exec                                                            
  ⠏ |  10       | Exec                                                            
  ⠧ |  18       | Exec                                                            
  ✔ |  32       | Exec [0.3 s]
  
  ⠏ |   0       | testthat.get                                                    
  ⠏ |   0       | Get                                                             
  ⠧ |   8       | Get                                                             
  ⠹ |  12   1   | Get                                                             
  ⠧ |  17   1   | Get                                                             
  ⠋ |  19   2   | Get                                                             
  ⠹ |  19   4   | Get                                                             
  ⠼ |  20   5   | Get                                                             
  ⠏ |  25   5   | Get                                                             
  ⠹ |  28   5   | Get                                                             
  ⠏ |  35   5   | Get                                                             
  ⠴ |  41   5   | Get                                                             
  ⠼ |  60   5   | Get                                                             
  ⠋ |  76   5   | Get                                                             
  ✔ |  80   5 1 | Get [2.3 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (testthat.get.R:30:5): Error Cases
  cannot create dir 'tests/# ;!./# \', reason 'No such file or directory'
  Backtrace:
    1. testthat::expect_error(...) testthat.get.R:30:4
    9. unitizer:::set_unitizer.character("tests/# ;!./# \\/", toy.stor)
   11. base::dir.create(store.id)
  
  Warning (testthat.get.R:78:9): Set works as expected
  cannot open compressed file '/tmp/RtmpeGy78B/working_dir/RtmpVXMf1j/file30604a2e6f8f4a/data.rds', probable reason 'Permission denied'
  Backtrace:
    1. testthat::expect_error(...) testthat.get.R:78:8
    9. unitizer:::set_unitizer.character(ro.dir, toy.stor)
   15. base::saveRDS(unitizer, paste0(store.id, "/data.rds"), version = 2)
   16. base::gzfile(file, mode)
  
  Warning (???): load/store_unitizer
  Slot `cons` does not exist in current version of `unitizer` so not added to object.
  Backtrace:
    1. utils::capture.output(...)
    3. unitizer:::load_unitizers(...)
    4. base::lapply(unitizers[toup.idx], upgrade)
    6. unitizer:::FUN(X[[i]], ...)
   12. unitizer:::upgrade_internal(object)
   13. 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. utils::capture.output(...)
    3. unitizer:::load_unitizers(...)
    4. base::lapply(unitizers[toup.idx], upgrade)
    6. unitizer:::FUN(X[[i]], ...)
   12. unitizer:::upgrade_internal(object)
   13. 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. utils::capture.output(...)
   3. unitizer:::load_unitizers(...)
  
  Skip (testthat.get.R:440:5): test file / store manip
  Reason: fails CRAN
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.global                                                 
  ⠏ |   0       | Global                                                          
  ⠼ |   5       | Global                                                          
  ✔ |   5       | Global [0.1 s]
  
  ⠏ |   0       | testthat.handledruns                                            
  ⠏ |   0       | Handled Runs                                                    
  ⠋ |   1       | Handled Runs                                                    
  ⠙ |   2       | Handled Runs                                                    
  ⠹ |   3       | Handled Runs                                                    
  ⠸ |   4       | Handled Runs                                                    
  ✔ |   5       | Handled Runs [1.6 s]
  
  ⠏ |   0       | testthat.inpkg                                                  
  ⠏ |   0       | In Package                                                      
  ⠋ |   1       | In Package                                                      
  ✔ |   3       | In Package [3.4 s]
  
  ⠏ |   0       | testthat.ischecks                                               
  ⠏ |   0       | is checks                                                       
  ✔ |  16       | is checks
  
  ⠏ |   0       | testthat.item                                                   
  ⠏ |   0       | Item                                                            
  ⠋ |   1       | Item                                                            
  ⠴ |   6       | Item                                                            
  ⠸ |  24       | Item                                                            
  ⠼ |  35       | Item                                                            
  ⠙ |  42       | Item                                                            
  ⠴ |  46       | Item                                                            
  ⠦ |  47       | Item                                                            
  ⠙ |  51     1 | Item                                                            
  ⠼ |  54     1 | Item                                                            
  ⠧ |  57     1 | Item                                                            
  ✔ |  58     1 | Item [2.7 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.item.R:406:5): Error Display
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.list                                                   
  ⠏ |   0       | List                                                            
  ⠹ |  23       | List                                                            
  ⠙ |  42       | List                                                            
  ✔ |  47       | List [0.3 s]
  
  ⠏ |   0       | testthat.misc                                                   
  ⠏ |   0       | Misc                                                            
  ⠙ |  22       | Misc                                                            
  ⠙ |  42       | Misc                                                            
  ⠦ |  57       | Misc                                                            
  ⠦ |  76     1 | Misc                                                            
  ✔ |  79     1 | Misc [0.7 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.misc.R:322:3): pretty_path
  Reason: fails CRAN
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.options                                                
  ⠏ |   0       | Options                                                         
  ✔ |   2       | Options
  
  ⠏ |   0       | testthat.parse                                                  
  ⠏ |   0       | Parse                                                           
  ⠸ |  14       | Parse                                                           
  ⠧ |  18       | Parse                                                           
  ⠙ |  22       | Parse                                                           
  ⠦ |  27       | Parse                                                           
  ⠧ |  37     1 | Parse                                                           
  ✔ |  38     1 | Parse [0.6 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.parse.R:284:3): empty symbols handled okay
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.prompt                                                 
  ⠏ |   0       | Prompt                                                          
  ⠋ |  11       | Prompt                                                          
  ⠧ |  28       | Prompt                                                          
  ✔ |  30       | Prompt [0.2 s]
  
  ⠏ |   0       | testthat.random                                                 
  ⠏ |   0       | random                                                          
  ⠙ |   0   2   | random                                                          
  ⠹ |   0   3   | random                                                          
  ⠸ |   0   4   | random                                                          
  ✔ |   1   4   | random [0.5 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (testthat.random.R:14:3): 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. utils::capture.output(unitize(file, auto.accept = "new")) testthat.random.R:14:2
   3. unitizer::unitize(file, auto.accept = "new")
   4. unitizer:::unitize_core(...)
   5. unitizer:::check_call_stack()
  
  Warning (testthat.random.R:14:3): random seed
  Unable to capture history in non-interactive mode.
  Backtrace:
   1. utils::capture.output(unitize(file, auto.accept = "new")) testthat.random.R:14:2
   3. unitizer::unitize(file, auto.accept = "new")
   4. unitizer:::unitize_core(...)
   8. unitizer:::unitize_browse(...)
   9. unitizer:::history_capt(history)
  
  Warning (testthat.random.R:18:3): 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. utils::capture.output(res <- unitize(file)) testthat.random.R:18:2
   3. unitizer::unitize(file)
   4. unitizer:::unitize_core(...)
   5. unitizer:::check_call_stack()
  
  Warning (testthat.random.R:18:3): random seed
  Unable to capture history in non-interactive mode.
  Backtrace:
   1. utils::capture.output(res <- unitize(file)) testthat.random.R:18:2
   3. unitizer::unitize(file)
   4. unitizer:::unitize_core(...)
   8. unitizer:::unitize_browse(...)
   9. unitizer:::history_capt(history)
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.rrename                                                
  ⠏ |   0       | Rename                                                          
  ⠼ |   5       | Rename                                                          
  ✔ |   8   1   | Rename [0.1 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (testthat.rrename.R:31:3): Rename Works
  This is an experimental function; make sure you backup any unitizers before you edit them
  Backtrace:
    1. testthat::expect_message(...) testthat.rrename.R:31:2
    9. unitizer::editCalls(x, quote(x), quote(y), interactive.only = TRUE)
   10. unitizer:::.local(x, lang.old, lang.new, ...)
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.rrepairenvs                                            
  ⠏ |   0       | Repair Envs                                                     
  ⠸ |   4       | Repair Envs                                                     
  ⠇ |   9       | Repair Envs                                                     
  ✔ |  10       | Repair Envs [0.3 s]
  
  ⠏ |   0       | testthat.search                                                 
  ⠏ |   0       | Search                                                          
  ⠇ |   9       | Search                                                          
  ⠼ |  15       | Search                                                          
  ⠼ |  35       | Search                                                          
  ⠏ |  40       | Search                                                          
  ⠙ |  42       | Search                                                          
  ✔ |  46       | Search [2.2 s]
  
  ⠏ |   0       | testthat.section                                                
  ⠏ |   0       | Section                                                         
  ⠏ |  10       | Section                                                         
  ⠏ |  20       | Section                                                         
  ✔ |  22       | Section [0.4 s]
  
  ⠏ |   0       | testthat.shim                                                   
  ⠏ |   0       | Shim                                                            
  ⠼ |  15       | Shim                                                            
  ⠦ |  27       | Shim                                                            
  ⠸ |  34       | Shim                                                            
  ⠙ |  42       | Shim                                                            
  ⠼ |  45       | Shim                                                            
  ⠹ |  51   2   | Shim                                                            
  ✔ |  53   2   | Shim [0.7 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (???): Checks, errors, etc.
  Failed attempting to trace `library`; see prior errors
  Backtrace:
   1. testthat::expect_true(...)
   8. 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                                                           
  ⠹ |  22     1 | State                                                           
  ⠇ |  28     1 | State                                                           
  ⠇ |  38     1 | State                                                           
  ⠇ |  48     1 | State                                                           
  ✔ |  53     2 | State [0.6 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testthat.state.R:52:3): All Equal States
  Reason: empty test
  
  Skip (testthat.state.R:368:3): invalid states
  Reason: empty test
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testthat.text                                                   
  ⠏ |   0       | Text                                                            
  ⠧ |  18       | Text                                                            
  ⠧ |  38       | Text                                                            
  ⠏ |  60       | Text                                                            
  ✔ |  74       | Text [0.3 s]
  
  ⠏ |   0       | testthat.translate                                              
  ⠏ |   0       | Translate                                                       
  ⠋ |   1       | Translate                                                       
  ⠙ |   2       | Translate                                                       
  ⠦ |   7       | Translate                                                       
  ✔ |  10       | Translate [2.7 s]
  
  ⠏ |   0       | testthat.upgrade                                                
  ⠏ |   0       | Upgrade                                                         
  ⠹ |   3       | Upgrade                                                         
  ⠋ |   9   2   | Upgrade                                                         
  ⠙ |  10   2   | Upgrade                                                         
  ✔ |  11   2   | Upgrade [0.6 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                                                         
  [33m⠦[39m |  25 2     | Unitize                                                         
  [33m⠇[39m |  27 2     | Unitize                                                         
  [33m⠋[39m |  29 2     | Unitize                                                         
  [33m⠸[39m |  42 2     | Unitize                                                         
  [33m⠼[39m |  43 2     | Unitize                                                         
  ✖ |  44 2     | Unitize [59.7 s]
  ────────────────────────────────────────────────────────────────────────────────
  Failure (testthat.utz1.R:288:5): namespace conflict
  `txt7` has changed from known value recorded in 'helper/refobjs/unitize_nsconf3.rds'.
  Component "message": Lengths (17, 16) differ (string compare on first 16)
  Component "message": 6 string mismatches
  Backtrace:
   1. testthat::expect_equal_to_reference(...) testthat.utz1.R:288:4
   2. testthat::expect_known_value(..., update = update)
  
  Failure (testthat.utz1.R:308:5): Removing Tests
  `txt7aa` has changed from known value recorded in 'helper/refobjs/unitize_rem1.rds'.
  Component "message": Lengths (5, 3) differ (string compare on first 3)
  Backtrace:
   1. testthat::expect_equal_to_reference(...) testthat.utz1.R:308:4
   2. testthat::expect_known_value(..., update = update)
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   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                                                       
  
  ✔ |  15       | Unitize 2 [15.0 s]
  
  ⠏ |   0       | testthat.zzrunlast                                              ALL TESTS COMPLETED!
  
  ══ Results ═════════════════════════════════════════════════════════════════════
  Duration: 117.1 s
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  • empty test (4)
  • fails CRAN (2)
  
  [ FAIL 2 | WARN 16 | SKIP 6 | PASS 834 ]
  Error: Test failures
  Execution halted
  Error in .Call(clic_unload) : NULL value passed as symbol address
  Calls: <Anonymous>
  Error in .Call(clic_unload) : NULL value passed as symbol address
  Calls: <Anonymous>