- using R Under development (unstable) (2025-02-20 r87772)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘repana/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘repana’ version ‘2.2.0’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘repana’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [1s/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 ... [7s/9s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [19s/24s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [19s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(repana)
Loading required package: DBI
>
> test_check("repana")
Current directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/repana.Rcheck/tests/testthat
Current directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/repana.Rcheck/tests/testthat
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'value' in selecting a method for function 'dbWriteTable': object 'borrar' not found
Current directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/repana.Rcheck/tests/testthat
TEMPORARY directory: /tmp/RtmpXJFLUR/file12d9dc3a17f65c
./00_clean.R
outputfile: logs/00_clean
Error in abs_path(output_file) :
The file 'logs/00_clean.pdf' does not exist.
[1] "2025-02-21 17:21:43"
[1] "./00_clean.R"
[1] "2.638083 secs"
[1] "FAIL"
./02_prog_a.R
outputfile: logs/02_prog_a
Error in abs_path(output_file) :
The file 'logs/02_prog_a.pdf' does not exist.
[1] "2025-02-21 17:21:45"
[1] "./02_prog_a.R"
[1] "1.997767 secs"
[1] "FAIL"
./03_prog_b.R
outputfile: logs/03_prog_b
Error in abs_path(output_file) :
The file 'logs/03_prog_b.pdf' does not exist.
[1] "2025-02-21 17:21:47"
[1] "./03_prog_b.R"
[1] "2.30344 secs"
[1] "FAIL"
./04_prog_c.R
outputfile: logs/04_prog_c
Error in eval(expr, envir) : prog_test_c makes and error
[1] "2025-02-21 17:21:50"
[1] "./04_prog_c.R"
[1] "0.06728768 secs"
[1] "FAIL"
./05_prog_d.R
outputfile: logs/05_prog_d
Error in abs_path(output_file) :
The file 'logs/05_prog_d.pdf' does not exist.
[1] "2025-02-21 17:21:50"
[1] "./05_prog_d.R"
[1] "2.726806 secs"
[1] "FAIL"
timestart script elapsed comments
1 2025-02-21 17:21:43 ./00_clean.R 2.638083 secs FAIL
2 2025-02-21 17:21:45 ./02_prog_a.R 1.997767 secs FAIL
3 2025-02-21 17:21:47 ./03_prog_b.R 2.30344 secs FAIL
4 2025-02-21 17:21:50 ./04_prog_c.R 0.06728768 secs FAIL
5 2025-02-21 17:21:50 ./05_prog_d.R 2.726806 secs FAIL
Current directory: /tmp/RtmpXJFLUR/file12d9dc3a17f65c
TEMPORARY directory: /tmp/RtmpXJFLUR/file12d9dc4ebc605a
./00_clean.R
outputfile: logs/00_clean
[1] "2025-02-21 17:21:53"
[1] "./00_clean.R"
[1] "0.5191591 secs"
[1] ":-)"
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-21 17:21:53"
[1] "./02_prog_a.R"
[1] "0.4030507 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-21 17:21:54"
[1] "./03_prog_b.R"
[1] "0.392415 secs"
[1] ":-)"
./04_prog_c.R
outputfile: logs/04_prog_c
Error in eval(expr, envir) : prog_test_c makes and error
[1] "2025-02-21 17:21:54"
[1] "./04_prog_c.R"
[1] "0.05929947 secs"
[1] "FAIL"
./05_prog_d.R
outputfile: logs/05_prog_d
[1] "2025-02-21 17:21:54"
[1] "./05_prog_d.R"
[1] "0.5253503 secs"
[1] ":-)"
timestart script elapsed comments
1 2025-02-21 17:21:53 ./00_clean.R 0.5191591 secs :-)
2 2025-02-21 17:21:53 ./02_prog_a.R 0.4030507 secs :-)
3 2025-02-21 17:21:54 ./03_prog_b.R 0.392415 secs :-)
4 2025-02-21 17:21:54 ./04_prog_c.R 0.05929947 secs FAIL
5 2025-02-21 17:21:54 ./05_prog_d.R 0.5253503 secs :-)
Current directory: /tmp/RtmpXJFLUR/file12d9dc4ebc605a
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-21 17:21:55"
[1] "./02_prog_a.R"
[1] "0.4428604 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-21 17:21:55"
[1] "./03_prog_b.R"
[1] "0.4166551 secs"
[1] ":-)"
Current directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/repana.Rcheck/tests/testthat
TEMPORARY directory: /tmp/RtmpXJFLUR/file12d9dc55da18a1
./00_clean.R
================================================================================
Make new directories for:
database
reports
logs
./02_prog_a.R
================================================================================
I'm in Program A./03_prog_b.R
================================================================================
I'm in program B
./04_prog_c.R
================================================================================
I'm in program C and would fail!!Error: prog_test_c makes and error
Execution halted
./05_prog_d.R
================================================================================
Loading required package: DBI
I'm in program D timestart script elapsed comments
1 2025-02-21 17:21:56 ./00_clean.R 1.425671 secs :-)
2 2025-02-21 17:21:57 ./02_prog_a.R 0.2449658 secs :-)
3 2025-02-21 17:21:57 ./03_prog_b.R 0.252538 secs :-)
4 2025-02-21 17:21:58 ./04_prog_c.R 0.2558901 secs FAIL
5 2025-02-21 17:21:58 ./05_prog_d.R 1.452941 secs :-)
Current directory: /tmp/RtmpXJFLUR/file12d9dc55da18a1
outputfile: test_report.html
/usr/bin/pandoc +RTS -K512m -RTS test_report.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output test_report.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 /tmp/RtmpXJFLUR/rmarkdown-str12d9dc3419b093.html
outputfile: test_report.html
/usr/bin/pandoc +RTS -K512m -RTS test_report.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output test_report.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 /tmp/RtmpXJFLUR/rmarkdown-str12d9dc2c67cca3.html
outputfile: borrar.html
/usr/bin/pandoc +RTS -K512m -RTS test_report.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output borrar.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 /tmp/RtmpXJFLUR/rmarkdown-str12d9dc1249801b.html
[ FAIL 5 | WARN 4 | SKIP 0 | PASS 92 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_master.R:24:3'): Master works well with pdf ──────────────────
file.exists("logs/00_clean.pdf") is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test_master.R:25:3'): Master works well with pdf ──────────────────
file.exists("logs/02_prog_a.pdf") is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test_master.R:26:3'): Master works well with pdf ──────────────────
file.exists("logs/03_prog_b.pdf") is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test_master.R:28:3'): Master works well with pdf ──────────────────
file.exists("logs/05_prog_d.pdf") is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test_master.R:32:3'): Master works well with pdf ──────────────────
masterfile$comments not equal to c(":-)", ":-)", ":-)", "FAIL", ":-)").
4/5 mismatches
x[1]: "FAIL"
y[1]: ":-)"
x[2]: "FAIL"
y[2]: ":-)"
x[3]: "FAIL"
y[3]: ":-)"
x[5]: "FAIL"
y[5]: ":-)"
[ FAIL 5 | WARN 4 | SKIP 0 | PASS 92 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/6s] OK
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR