Last updated on 2021-04-29 10:50:55 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.4.12 | 20.50 | 104.00 | 124.50 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.4.12 | 17.26 | 79.23 | 96.49 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.4.12 | 161.17 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.4.12 | 162.54 | ERROR | |||
r-devel-windows-ix86+x86_64 | 1.4.12 | 28.00 | 11.00 | 39.00 | ERROR | |
r-devel-windows-x86_64-gcc10-UCRT | 1.4.12 | ERROR | ||||
r-patched-linux-x86_64 | 1.4.12 | 20.52 | 102.37 | 122.89 | ERROR | |
r-patched-solaris-x86 | 1.4.12 | 351.70 | OK | |||
r-release-linux-x86_64 | 1.4.12 | 18.58 | 185.79 | 204.37 | OK | |
r-release-macos-x86_64 | 1.4.12 | OK | ||||
r-release-windows-ix86+x86_64 | 1.4.12 | 36.00 | 204.00 | 240.00 | OK | |
r-oldrel-macos-x86_64 | 1.4.12 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.4.12 | 32.00 | 246.00 | 278.00 | OK |
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-x86_64-gcc10-UCRT, r-patched-linux-x86_64
Version: 1.4.12
Check: tests
Result: ERROR
Running 'aunitizer.R' [4s/5s]
Running 'runtt.R' [13s/19s]
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.9 s]
/ | 0 | testthat.capture
/ | 0 | Capture
/ | 26 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/RtmpKaRjuv/file5a517d6ccfe3'
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/RtmpKaRjuv/file5a517d6ccfe3'
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-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
⠸ | 14 | Browse
✔ | 20 | Browse [1.2 s]
⠏ | 0 | testthat.capture
⠏ | 0 | Capture
⠼ | 33 2 | Capture
⠦ | 35 2 | Capture
✔ | 39 2 | Capture [0.3 s]
────────────────────────────────────────────────────────────────────────────────
Warning (testthat.capture.R:91:3): get_text
incomplete final line found on '/home/hornik/tmp/scratch/RtmpsR3Vsr/file61ce9fd7fd'
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/RtmpsR3Vsr/file61ce9fd7fd'
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.7 s]
⠏ | 0 | testthat.capture
⠏ | 0 | Capture
⠹ | 21 2 | Capture
⠴ | 34 2 | Capture
⠦ | 35 2 | Capture
✔ | 39 2 | Capture [0.9 s]
────────────────────────────────────────────────────────────────────────────────
Warning (testthat.capture.R:91:3): get_text
incomplete final line found on '/tmp/Rtmp0xtmGf/working_dir/RtmpySzy4U/file20365824bae1d2'
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/Rtmp0xtmGf/working_dir/RtmpySzy4U/file20365824bae1d2'
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’
Running ‘runtt.R’ [26s/33s]
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
⠼ | 15 | Browse
✔ | 20 | Browse [1.7 s]
⠏ | 0 | testthat.capture
⠏ | 0 | Capture
⠇ | 17 2 | Capture
⠴ | 34 2 | Capture
⠦ | 35 2 | Capture
✔ | 39 2 | Capture [0.6 s]
────────────────────────────────────────────────────────────────────────────────
Warning (testthat.capture.R:91:3): get_text
incomplete final line found on '/tmp/Rtmp9aUyY5/working_dir/Rtmp1tjPTL/file2bfab46c79024f'
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/Rtmp9aUyY5/working_dir/Rtmp1tjPTL/file2bfab46c79024f'
Backtrace:
1. testthat::expect_match(readLines(f), "boogiewoogie") testthat.capture.R:91:2
2. base::readLines(f)
────────────────────────────────────────────────────────────────────────────────
⠏ | 0 | testthat.change
⠏ | 0 | Change
⠋ | 1 | Change
✔ | 4 | Change [0.2 s]
⠏ | 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-gcc
Version: 1.4.12
Check: whether package can be installed
Result: ERROR
Installation failed.
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
Version: 1.4.12
Check: tests
Result: ERROR
Running ‘aunitizer.R’ [3s/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
converting help for package ‘utzflm’
finding HTML links ... done
fastlm html
get_slope html
** 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
⠧ | 18 | Browse
✔ | 20 | Browse [1.3 s]
⠏ | 0 | testthat.capture
⠏ | 0 | Capture
⠏ | 28 2 | Capture
⠦ | 35 2 | Capture
✔ | 39 2 | Capture [0.5 s]
────────────────────────────────────────────────────────────────────────────────
Warning (testthat.capture.R:91:3): get_text
incomplete final line found on '/tmp/Rtmpy0cZ5I/file4f4653e4d448'
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/Rtmpy0cZ5I/file4f4653e4d448'
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-patched-linux-x86_64