CRAN Package Check Results for Package unitizer

Last updated on 2020-02-21 01:46:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.8 20.58 128.58 149.16 ERROR
r-devel-linux-x86_64-debian-gcc 1.4.8 16.65 104.28 120.93 OK
r-devel-linux-x86_64-fedora-clang 1.4.8 192.72 OK
r-devel-linux-x86_64-fedora-gcc 1.4.8 182.02 OK
r-devel-windows-ix86+x86_64 1.4.8 33.00 166.00 199.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.4.8 45.00 152.00 197.00 OK
r-patched-linux-x86_64 1.4.8 17.18 164.69 181.87 OK
r-patched-solaris-x86 1.4.8 281.10 OK
r-release-linux-x86_64 1.4.8 18.34 164.95 183.29 OK
r-release-windows-ix86+x86_64 1.4.8 30.00 203.00 233.00 OK
r-release-osx-x86_64 1.4.8 OK
r-oldrel-windows-ix86+x86_64 1.4.8 28.00 179.00 207.00 OK
r-oldrel-osx-x86_64 1.4.8 OK

Check Details

Version: 1.4.8
Check: tests
Result: ERROR
     Running 'aunitizer.R' [2s/3s]
     Running 'runtt.R' [42s/53s]
     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. Prior to enabling, be sure to read `?unitizerState`,in particular the 'CRAN non-compliance' section.
     > if(!require(testthat)) stop("testthat required for tests")
     Loading required package: testthat
     >
     > RNGversion("3.5.2");
     Warning message:
     In RNGkind("Mersenne-Twister", "Inversion", "Rounding") :
     non-uniform 'Rounding' sampler used
     > 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.
    
    
     +------------------------------------------------------------------------------+
     | unitizer for: unitizer/tests2.R |
     +------------------------------------------------------------------------------+
    
     Pass Fail
     <untitled> 5 1
     ......................
     5 1
    
     - 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)?
    
     > data.frame(a = 1:20, b = letters[1:20])
     a b
     1 1 a
     2 2 b
     3 3 c
     4 4 d
     5 5 e
     6 6 f
     7 7 g
     8 8 h
     9 9 i
     10 10 j
     11 11 k
     12 12 l
     13 13 m
     14 14 n
     15 15 o
     16 16 p
     17 17 q
     18 18 r
     19 19 s
     20 20 t
    
     | Value mismatch:
    
     < str(.ref) > str(.new)
     @@ 1,3 @@ @@ 1,3 @@
     'data.frame': 20 obs. of 2 variabl 'data.frame': 20 obs. of 2 variabl
     es: es:
     $ a: int 1 2 3 4 5 6 7 8 9 10 ... $ a: int 1 2 3 4 5 6 7 8 9 10 ...
     < $ b: Factor w/ 20 levels "a","b","c" > $ b: chr "a" "b" "c" "d" ...
     : ,"d",..: 1 2 3 4 5 6 7 8 9 10 ... ~
    
     | User input required to proceed, but we are in non-interactive mode.
    
     | unitizer unchanged.
    
     | * Fail: data.frame(a = 1:20, b = letters[1:20])
     | in 'unitizer/tests2.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
Flavor: r-devel-linux-x86_64-debian-clang