CRAN Package Check Results for Package unitizer

Last updated on 2021-04-22 23:49:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.12 19.09 104.89 123.98 ERROR
r-devel-linux-x86_64-debian-gcc 1.4.12 16.26 78.29 94.55 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.12 160.13 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4.12 172.91 ERROR
r-devel-windows-ix86+x86_64 1.4.12 36.00 145.00 181.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.4.12 ERROR
r-patched-linux-x86_64 1.4.12 20.77 194.16 214.93 OK
r-patched-solaris-x86 1.4.12 351.70 OK
r-release-linux-x86_64 1.4.12 18.49 186.00 204.49 OK
r-release-macos-x86_64 1.4.12 OK
r-release-windows-ix86+x86_64 1.4.12 37.00 277.00 314.00 OK
r-oldrel-macos-x86_64 1.4.12 OK
r-oldrel-windows-ix86+x86_64 1.4.12 28.00 240.00 268.00 OK

Check Details

Version: 1.4.12
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-x86_64-gcc10-UCRT

Version: 1.4.12
Check: tests
Result: ERROR
     Running 'aunitizer.R' [4s/4s]
     Running 'runtt.R' [13s/18s]
     Running 'testpkg1.R' [1s/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
     ** 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
     v | OK F W S | Context
    
     / | 0 | testthat.browse
     / | 0 | Browse
     / | 4 | Browse
     \ | 6 | Browse
     - | 13 | Browse
     \ | 14 | Browse
     v | 20 | Browse [1.6 s]
    
     / | 0 | testthat.capture
     / | 0 | Capture
     | | 21 2 | Capture
     - | 35 2 | Capture
     v | 39 2 | Capture [0.5 s]
     --------------------------------------------------------------------------------
     Warning (testthat.capture.R:91:3): get_text
     incomplete final line found on '/tmp/RtmpEue3XL/file1d5240d949c0'
     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/RtmpEue3XL/file1d5240d949c0'
     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
     - | 5 | Demo
    
    
     Preloads...
    
     Loading unitizer data...
    
     Parsing tests...
    
     Parsing unitizer/fastlm1.R
    
    
    
     library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
    
     dat <- data.frame(x = 1:100, y = (1:100)^2)
    
     res <- fastlm(dat$x, dat$y)
    
     res
    
     get_slope(res)
    
     get_rsq(res)
    
     fastlm(1:100, 1:10)
    
    
    
     Prepping Unitizers...
    
     +------------------------------------------------------------------------------+
     | unitizer for: unitizer/fastlm1.R |
     +------------------------------------------------------------------------------+
    
     Pass Fail New
     <untitled> - - 4
     ...........................
     - - 4
    
     - New --------------------------------------------------------------------------
    
     | The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev,
     | [B]rowse, [R]erun, [Q]uit, [H]elp)?
    
     # Assignments and calls to `library` are not considered tests by
     # `unitizer` so you will not need to review them
    
     > library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
     > dat <- data.frame(x = 1:100, y = (1:100)^2)
     > res <- fastlm(dat$x, dat$y)
    
     # The `unitizer>` prompt is like the standard R prompt. You may
     # enter expressions such as `lm(y ~ x, dat)$coefficients`, or
     # `str(res)`.
     #
     # Once you are done reviewing, you need to tell `unitizer` you
     # accept the test by typing 'Y' at the prompt. Enter 'H' for help.
    
     > res
     intercept slope rsq
     -1717.000000 101.000000 0.938679
     attr(,"class")
     [1] "fastlm"
    
     unitizer> Y
    
     # There are three more tests to review; accept them with 'Y'
    
     > get_slope(res)
     [1] 101
    
     unitizer> Y
    
     > get_rsq(res)
     [1] 0.938679
    
     unitizer> Y
    
     # This last test is expected to cause an error; press 'Y' to
     # accept it so future checks can confirm the same error persists
    
     > fastlm(1:100, 1:10)
     Error in fastlm(1:100, 1:10) :
     Arguments `x` and `y` must be the same length.
     Error in assign(".Traceback", res, envir = getNamespace("base")) :
     cannot add binding of '.Traceback' to the base environment
     | Unexpectedly exited before storing unitizer; tests were not saved or changed.
    
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.4.12
Check: tests
Result: ERROR
     Running ‘aunitizer.R’ [2s/4s]
     Running ‘runtt.R’ [10s/20s]
     Running ‘testpkg1.R’ [1s/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
     ** 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
     ⠼ | 15 | Browse
     ✔ | 20 | Browse [1.6 s]
    
     ⠏ | 0 | testthat.capture
     ⠏ | 0 | Capture
     ⠙ | 30 2 | Capture
     ⠦ | 35 2 | Capture
     ✔ | 39 2 | Capture [0.4 s]
     ────────────────────────────────────────────────────────────────────────────────
     Warning (testthat.capture.R:91:3): get_text
     incomplete final line found on '/home/hornik/tmp/scratch/RtmpaujvrD/file7bb21c1c2938'
     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 '/home/hornik/tmp/scratch/RtmpaujvrD/file7bb21c1c2938'
     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
    
    
     Preloads...
    
     Loading unitizer data...
    
     Parsing tests...
    
     Parsing unitizer/fastlm1.R
    
    
    
     library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
    
     dat <- data.frame(x = 1:100, y = (1:100)^2)
    
     res <- fastlm(dat$x, dat$y)
    
     res
    
     get_slope(res)
    
     get_rsq(res)
    
     fastlm(1:100, 1:10)
    
    
    
     Prepping Unitizers...
    
     +------------------------------------------------------------------------------+
     | unitizer for: unitizer/fastlm1.R |
     +------------------------------------------------------------------------------+
    
     Pass Fail New
     <untitled> - - 4
     ...........................
     - - 4
    
     - New --------------------------------------------------------------------------
    
     | The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev,
     | [B]rowse, [R]erun, [Q]uit, [H]elp)?
    
     # Assignments and calls to `library` are not considered tests by
     # `unitizer` so you will not need to review them
    
     > library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
     > dat <- data.frame(x = 1:100, y = (1:100)^2)
     > res <- fastlm(dat$x, dat$y)
    
     # The `unitizer>` prompt is like the standard R prompt. You may
     # enter expressions such as `lm(y ~ x, dat)$coefficients`, or
     # `str(res)`.
     #
     # Once you are done reviewing, you need to tell `unitizer` you
     # accept the test by typing 'Y' at the prompt. Enter 'H' for help.
    
     > res
     intercept slope rsq
     -1717.000000 101.000000 0.938679
     attr(,"class")
     [1] "fastlm"
    
     unitizer> Y
    
     # There are three more tests to review; accept them with 'Y'
    
     > get_slope(res)
     [1] 101
    
     unitizer> Y
    
     > get_rsq(res)
     [1] 0.938679
    
     unitizer> Y
    
     # This last test is expected to cause an error; press 'Y' to
     # accept it so future checks can confirm the same error persists
    
     > fastlm(1:100, 1:10)
     Error in fastlm(1:100, 1:10) :
     Arguments `x` and `y` must be the same length.
     Error in assign(".Traceback", res, envir = getNamespace("base")) :
     cannot add binding of '.Traceback' to the base environment
     | Unexpectedly exited before storing unitizer; tests were not saved or changed.
    
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4.12
Check: tests
Result: ERROR
     Running ‘aunitizer.R’
     Running ‘runtt.R’ [16s/22s]
     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
     ⠸ | 4 | Browse
     ⠴ | 6 | Browse
     ⠹ | 13 | Browse
     ⠸ | 14 | Browse
     ⠧ | 18 | Browse
     ✔ | 20 | Browse [1.9 s]
    
     ⠏ | 0 | testthat.capture
     ⠏ | 0 | Capture
     ⠙ | 20 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/RtmpUzp2PD/working_dir/RtmpLVGrb1/file35078b4d90d734'
     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/RtmpUzp2PD/working_dir/RtmpLVGrb1/file35078b4d90d734'
     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
    
    
     Preloads...
    
     Loading unitizer data...
    
     Parsing tests...
    
     Parsing unitizer/fastlm1.R
    
    
    
     library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
    
     dat <- data.frame(x = 1:100, y = (1:100)^2)
    
     res <- fastlm(dat$x, dat$y)
    
     res
    
     get_slope(res)
    
     get_rsq(res)
    
     fastlm(1:100, 1:10)
    
    
    
     Prepping Unitizers...
    
     +------------------------------------------------------------------------------+
     | unitizer for: unitizer/fastlm1.R |
     +------------------------------------------------------------------------------+
    
     Pass Fail New
     <untitled> - - 4
     ...........................
     - - 4
    
     - New --------------------------------------------------------------------------
    
     | The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev,
     | [B]rowse, [R]erun, [Q]uit, [H]elp)?
    
     # Assignments and calls to `library` are not considered tests by
     # `unitizer` so you will not need to review them
    
     > library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
     > dat <- data.frame(x = 1:100, y = (1:100)^2)
     > res <- fastlm(dat$x, dat$y)
    
     # The `unitizer>` prompt is like the standard R prompt. You may
     # enter expressions such as `lm(y ~ x, dat)$coefficients`, or
     # `str(res)`.
     #
     # Once you are done reviewing, you need to tell `unitizer` you
     # accept the test by typing 'Y' at the prompt. Enter 'H' for help.
    
     > res
     intercept slope rsq
     -1717.000000 101.000000 0.938679
     attr(,"class")
     [1] "fastlm"
    
     unitizer> Y
    
     # There are three more tests to review; accept them with 'Y'
    
     > get_slope(res)
     [1] 101
    
     unitizer> Y
    
     > get_rsq(res)
     [1] 0.938679
    
     unitizer> Y
    
     # This last test is expected to cause an error; press 'Y' to
     # accept it so future checks can confirm the same error persists
    
     > fastlm(1:100, 1:10)
     Error in fastlm(1:100, 1:10) :
     Arguments `x` and `y` must be the same length.
     Error in assign(".Traceback", res, envir = getNamespace("base")) :
     cannot add binding of '.Traceback' to the base environment
     | Unexpectedly exited before storing unitizer; tests were not saved or changed.
    
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.4.12
Check: tests
Result: ERROR
     Running ‘aunitizer.R’ [4s/11s]
     Running ‘runtt.R’ [27s/67s]
     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
     ⠙ | 2 | Browse
     ⠹ | 3 | Browse
     ⠸ | 4 | Browse
     ⠴ | 6 | Browse
     ⠋ | 11 | Browse
     ⠹ | 13 | Browse
     ⠸ | 14 | Browse
     ⠧ | 18 | Browse
     ✔ | 20 | Browse [3.7 s]
    
     ⠏ | 0 | testthat.capture
     ⠏ | 0 | Capture
     ⠇ | 8 1 | Capture
     ⠇ | 17 2 | Capture
     ⠇ | 27 2 | Capture
     ⠼ | 33 2 | Capture
     ⠦ | 35 2 | Capture
     ⠧ | 36 2 | Capture
     ✔ | 39 2 | Capture [2.3 s]
     ────────────────────────────────────────────────────────────────────────────────
     Warning (testthat.capture.R:91:3): get_text
     incomplete final line found on '/tmp/Rtmpnh5fAN/working_dir/Rtmp23UFpn/file1a4e653854c5e'
     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/Rtmpnh5fAN/working_dir/Rtmp23UFpn/file1a4e653854c5e'
     Backtrace:
     1. testthat::expect_match(readLines(f), "boogiewoogie") testthat.capture.R:91:2
     2. base::readLines(f)
     ────────────────────────────────────────────────────────────────────────────────
    
     ⠏ | 0 | testthat.change
     ⠏ | 0 | Change
     ⠹ | 3 | Change
     ✔ | 4 | Change [0.1 s]
    
     ⠏ | 0 | testthat.demo
     ⠏ | 0 | Demo
     ⠴ | 6 | Demo
    
    
     Preloads...
    
     Loading unitizer data...
    
     Parsing tests...
    
     Parsing unitizer/fastlm1.R
    
    
    
     library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
    
     dat <- data.frame(x = 1:100, y = (1:100)^2)
    
     res <- fastlm(dat$x, dat$y)
    
     res
    
     get_slope(res)
    
     get_rsq(res)
    
     fastlm(1:100, 1:10)
    
    
    
     Prepping Unitizers...
    
     +------------------------------------------------------------------------------+
     | unitizer for: unitizer/fastlm1.R |
     +------------------------------------------------------------------------------+
    
     Pass Fail New
     <untitled> - - 4
     ...........................
     - - 4
    
     - New --------------------------------------------------------------------------
    
     | The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev,
     | [B]rowse, [R]erun, [Q]uit, [H]elp)?
    
     # Assignments and calls to `library` are not considered tests by
     # `unitizer` so you will not need to review them
    
     > library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
     > dat <- data.frame(x = 1:100, y = (1:100)^2)
     > res <- fastlm(dat$x, dat$y)
    
     # The `unitizer>` prompt is like the standard R prompt. You may
     # enter expressions such as `lm(y ~ x, dat)$coefficients`, or
     # `str(res)`.
     #
     # Once you are done reviewing, you need to tell `unitizer` you
     # accept the test by typing 'Y' at the prompt. Enter 'H' for help.
    
     > res
     intercept slope rsq
     -1717.000000 101.000000 0.938679
     attr(,"class")
     [1] "fastlm"
    
     unitizer> Y
    
     # There are three more tests to review; accept them with 'Y'
    
     > get_slope(res)
     [1] 101
    
     unitizer> Y
    
     > get_rsq(res)
     [1] 0.938679
    
     unitizer> Y
    
     # This last test is expected to cause an error; press 'Y' to
     # accept it so future checks can confirm the same error persists
    
     > fastlm(1:100, 1:10)
     Error in fastlm(1:100, 1:10) :
     Arguments `x` and `y` must be the same length.
     Error in assign(".Traceback", res, envir = getNamespace("base")) :
     cannot add binding of '.Traceback' to the base environment
     | Unexpectedly exited before storing unitizer; tests were not saved or changed.
    
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.4.12
Check: tests
Result: ERROR
     Running 'aunitizer.R' [5s]
     Running 'runtt.R' [24s]
     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
     / | 10 2 | Capture
     \ | 32 2 | Capture
     - | 35 2 | Capture
     \ | 36 2 | Capture
     v | 39 2 | Capture [0.8 s]
     --------------------------------------------------------------------------------
     Warning (testthat.capture.R:91:3): get_text
     incomplete final line found on 'D:\temp\RtmpUZyJPH\filefcc050c5b0a'
     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\RtmpUZyJPH\filefcc050c5b0a'
     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
    
    
     Preloads...
    
     Loading unitizer data...
    
     Parsing tests...
    
     Parsing unitizer/fastlm1.R
    
    
    
     library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
    
     dat <- data.frame(x = 1:100, y = (1:100)^2)
    
     res <- fastlm(dat$x, dat$y)
    
     res
    
     get_slope(res)
    
     get_rsq(res)
    
     fastlm(1:100, 1:10)
    
    
    
     Prepping Unitizers...
    
     +------------------------------------------------------------------------------+
     | unitizer for: unitizer/fastlm1.R |
     +------------------------------------------------------------------------------+
    
     Pass Fail New
     <untitled> - - 4
     ...........................
     - - 4
    
     - New --------------------------------------------------------------------------
    
     | The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev,
     | [B]rowse, [R]erun, [Q]uit, [H]elp)?
    
     # Assignments and calls to `library` are not considered tests by
     # `unitizer` so you will not need to review them
    
     > library(utzflm, lib.loc = getOption("unitizer.tmp.lib.loc"))
     > dat <- data.frame(x = 1:100, y = (1:100)^2)
     > res <- fastlm(dat$x, dat$y)
    
     # The `unitizer>` prompt is like the standard R prompt. You may
     # enter expressions such as `lm(y ~ x, dat)$coefficients`, or
     # `str(res)`.
     #
     # Once you are done reviewing, you need to tell `unitizer` you
     # accept the test by typing 'Y' at the prompt. Enter 'H' for help.
    
     > res
     intercept slope rsq
     -1717.000000 101.000000 0.938679
     attr(,"class")
     [1] "fastlm"
    
     unitizer> Y
    
     # There are three more tests to review; accept them with 'Y'
    
     > get_slope(res)
     [1] 101
    
     unitizer> Y
    
     > get_rsq(res)
     [1] 0.938679
    
     unitizer> Y
    
     # This last test is expected to cause an error; press 'Y' to
     # accept it so future checks can confirm the same error persists
    
     > fastlm(1:100, 1:10)
     Error in fastlm(1:100, 1:10) :
     Arguments `x` and `y` must be the same length.
     Error in assign(".Traceback", res, envir = getNamespace("base")) :
     cannot add binding of '.Traceback' to the base environment
     | Unexpectedly exited before storing unitizer; tests were not saved or changed.
    
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.4.12
Check: tests
Result: ERROR
     Running 'aunitizer.R'
     Running 'runtt.R'
    Running the tests in 'tests/runtt.R' failed.
    Last 13 lines of output:
     [1] 0.938679
    
     unitizer> Y
    
     # This last test is expected to cause an error; press 'Y' to
     # accept it so future checks can confirm the same error persists
    
     > fastlm(1:100, 1:10)
     Error in fastlm(1:100, 1:10) :
     Arguments `x` and `y` must be the same length.
     Error in assign(".Traceback", res, envir = getNamespace("base")) :
     cannot add binding of '.Traceback' to the base environment
     | Unexpectedly exited before storing unitizer; tests were not saved or changed.
    
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT