- using R version 4.4.3 RC (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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] 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 ... [2s/3s] 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 ... [10s/15s] 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/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [24s/32s] ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [24s/31s]
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-patched-gcc/Work/PKGS/repana.Rcheck/tests/testthat
Current directory: /home/hornik/tmp/R.check/r-patched-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-patched-gcc/Work/PKGS/repana.Rcheck/tests/testthat
TEMPORARY directory: /home/hornik/tmp/scratch/RtmpnZoHJh/file15b12a36be7dea
./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-22 04:21:41"
[1] "./00_clean.R"
[1] "3.553356 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-22 04:21:44"
[1] "./02_prog_a.R"
[1] "2.878292 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-22 04:21:47"
[1] "./03_prog_b.R"
[1] "2.873544 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-22 04:21:50"
[1] "./04_prog_c.R"
[1] "0.1449497 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-22 04:21:50"
[1] "./05_prog_d.R"
[1] "2.815366 secs"
[1] "FAIL"
timestart script elapsed comments
1 2025-02-22 04:21:41 ./00_clean.R 3.553356 secs FAIL
2 2025-02-22 04:21:44 ./02_prog_a.R 2.878292 secs FAIL
3 2025-02-22 04:21:47 ./03_prog_b.R 2.873544 secs FAIL
4 2025-02-22 04:21:50 ./04_prog_c.R 0.1449497 secs FAIL
5 2025-02-22 04:21:50 ./05_prog_d.R 2.815366 secs FAIL
Current directory: /home/hornik/tmp/scratch/RtmpnZoHJh/file15b12a36be7dea
TEMPORARY directory: /home/hornik/tmp/scratch/RtmpnZoHJh/file15b12a37563418
./00_clean.R
outputfile: logs/00_clean
[1] "2025-02-22 04:21:54"
[1] "./00_clean.R"
[1] "0.5922525 secs"
[1] ":-)"
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-22 04:21:54"
[1] "./02_prog_a.R"
[1] "0.7139678 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-22 04:21:55"
[1] "./03_prog_b.R"
[1] "0.6136911 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-22 04:21:56"
[1] "./04_prog_c.R"
[1] "0.1494985 secs"
[1] "FAIL"
./05_prog_d.R
outputfile: logs/05_prog_d
[1] "2025-02-22 04:21:56"
[1] "./05_prog_d.R"
[1] "0.5671322 secs"
[1] ":-)"
timestart script elapsed comments
1 2025-02-22 04:21:54 ./00_clean.R 0.5922525 secs :-)
2 2025-02-22 04:21:54 ./02_prog_a.R 0.7139678 secs :-)
3 2025-02-22 04:21:55 ./03_prog_b.R 0.6136911 secs :-)
4 2025-02-22 04:21:56 ./04_prog_c.R 0.1494985 secs FAIL
5 2025-02-22 04:21:56 ./05_prog_d.R 0.5671322 secs :-)
Current directory: /home/hornik/tmp/scratch/RtmpnZoHJh/file15b12a37563418
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-22 04:21:57"
[1] "./02_prog_a.R"
[1] "0.6479523 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-22 04:21:57"
[1] "./03_prog_b.R"
[1] "0.6960166 secs"
[1] ":-)"
Current directory: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/repana.Rcheck/tests/testthat
TEMPORARY directory: /home/hornik/tmp/scratch/RtmpnZoHJh/file15b12a5f34d046
./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-22 04:21:58 ./00_clean.R 1.999492 secs :-)
2 2025-02-22 04:22:00 ./02_prog_a.R 0.2713735 secs :-)
3 2025-02-22 04:22:01 ./03_prog_b.R 0.2661197 secs :-)
4 2025-02-22 04:22:01 ./04_prog_c.R 0.2622187 secs FAIL
5 2025-02-22 04:22:01 ./05_prog_d.R 1.967009 secs :-)
Current directory: /home/hornik/tmp/scratch/RtmpnZoHJh/file15b12a5f34d046
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-patched-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-patched-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-patched-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 /home/hornik/tmp/scratch/RtmpnZoHJh/rmarkdown-str15b12a69a66857.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-patched-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-patched-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-patched-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 /home/hornik/tmp/scratch/RtmpnZoHJh/rmarkdown-str15b12a3d57e532.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-patched-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-patched-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-patched-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 /home/hornik/tmp/scratch/RtmpnZoHJh/rmarkdown-str15b12a232ffa62.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 ... [6s/8s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR