- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'logrx/DESCRIPTION' ... OK
- this is package 'logrx' version '0.3.1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'logrx' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [2s] OK
- checking startup messages can be suppressed ... [2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [6s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [15s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [65s] ERROR
Running 'testthat.R' [65s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(logrx)
>
> test_check("logrx")
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30190370cf". Did you mean command "preview"?
[1] "hello logrx"
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30799554f8". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3063934adb". Did you mean command "preview"?
hello logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30542d42e5". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3042142cd9". Did you mean command "preview"?
hello logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3046e823a8". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3065807d48". Did you mean command "preview"?
hello logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb306ba16251". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3022772b89". Did you mean command "preview"?
hello logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3094fb3e". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb306fd71be4". Did you mean command "preview"?
Warning in for (i in seq_len(n)) { :
closing unused connection 4 (D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl/log_out_nested.Rds)
processing file: ex1.Rmd
[1] "print"
output file: ex1.knit.md
"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS ex1.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output ex1.html --lua-filter "D:\RCompile\CRANpkg\lib\4.3\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.3\rmarkdown\rmarkdown\lua\latex-div.lua" --self-contained --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.3\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable "mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl\rmarkdown-strcb303be81f3f.html"
Output created: ex1.html
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb308887c71". Did you mean command "preview"?
processing file: ref/ex1.Rmd
output file: D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl\filecb30145928e7.R
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30156948e7". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30746e5c05". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3033ed1157". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb306da63d48". Did you mean command "preview"?
Rows: 3
Columns: 2
$ cyl <dbl> 4, 6, 8
$ mean <dbl> 26.66364, 19.74286, 15.10000
[1] "hello logrx"
Error: ref/ex4.R:5:0: unexpected end of input
3:
4: print("hello logrx"
^
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb304757746a". Did you mean command "preview"?
[1] 1
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb308db2719". Did you mean command "preview"?
[1] 1
processing file: ref/ex1.Rmd
output file: D:\temp\2025_02_14_01_50_00_25053\RtmpQv4Qyl\filecb30357646ef.R
[1] "print"
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb301fca73ec". Did you mean command "preview"?
[1] "log print"
[1] "log print 2"
log catlog cat 2log inform
log inform 2
log message
log message 2
Error: log error
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3024ab603d". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3025887488". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303e8f1902". Did you mean command "preview"?
Attaching package: 'magrittr'
The following objects are masked from 'package:testthat':
equals, is_less_than, not
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303d585090". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303475261". Did you mean command "preview"?
[1] "hello logrx"
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3018f85ba7". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30cdf500c". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb309c84723". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb302f5ead". Did you mean command "preview"?
hello logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30148673bf". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3076354139". Did you mean command "preview"?
hello again logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3013146d0". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3068b15fc". Did you mean command "preview"?
hello logrx
this is outputERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb307ac93263". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb305f246872". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3039882714". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30513c1aca". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb301ebe150b". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30678d62a5". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3055ad1e4f". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3024336298". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3055474765". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3014a71deb". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3076233cb7". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3067cb34a7". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3075c374ec". Did you mean command "preview"?
[1] "log print"
[1] "log print 2"
log catlog cat 2log inform
log inform 2
log message
log message 2
Error: log error
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3031347f4d". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb303fcded7". Did you mean command "preview"?
[1] "log print"
[1] "log print 2"
log catlog cat 2log inform
log inform 2
log message
log message 2
Error: log error
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30698d7377". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30953536". Did you mean command "preview"?
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3010737719". Did you mean command "preview"?
[1] 1
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb30455409c". Did you mean command "preview"?
[1] 1
ERROR: Unknown command "TMPDIR=D:/temp/2025_02_14_01_50_00_25053/RtmpQv4Qyl/filecb3038a61373". Did you mean command "preview"?
[ FAIL 2 | WARN 61 | SKIP 0 | PASS 113 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get.R:191:4'): library lint returns expected result when multiple linters are set ──
write_lint_results() (`actual`) not identical to `expected` (`expected`).
lines(actual)[1:6] vs lines(expected)[1:6]
"Line 6 [library_call_linter] Move all library calls to the top of the script."
""
- "Line 8 [undesirable_operator_linter] Avoid undesirable operator `<<-`. It"
+ "Line 8 [undesirable_operator_linter] Operator `<<-` is undesirable. It"
"assigns outside the current environment in a way that can be hard to reason"
"about. Prefer fully-encapsulated functions wherever possible, or, if"
"necessary, assign to a specific environment with assign(). Recall that you"
── Failure ('test-writer.R:196:4'): write_lint_results will return a formatted lint results element ──
write_lint_results() (`actual`) not identical to paste0(...) (`expected`).
lines(actual)[1:10] vs lines(expected)[1:10]
- "Line 3 [undesirable_operator_linter] Avoid undesirable operator `<<-`. It"
+ "Line 3 [undesirable_operator_linter] Operator `<<-` is undesirable. It"
"assigns outside the current environment in a way that can be hard to reason"
"about. Prefer fully-encapsulated functions wherever possible, or, if"
"necessary, assign to a specific environment with assign(). Recall that you"
"can create an environment at the desired scope with new.env()."
""
- "Line 4 [undesirable_operator_linter] Avoid undesirable operator `<<-`. It"
+ "Line 4 [undesirable_operator_linter] Operator `<<-` is undesirable. It"
"assigns outside the current environment in a way that can be hard to reason"
"about. Prefer fully-encapsulated functions wherever possible, or, if"
"necessary, assign to a specific environment with assign(). Recall that you"
[ FAIL 2 | WARN 61 | SKIP 0 | PASS 113 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [16s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR