- using R Under development (unstable) (2025-02-19 r87757)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (1+b1)
Debian flang-new version 19.1.7 (1+b1)
- 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 ... [2s/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 ... [11s/13s] 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 ... [25s/31s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [24s/30s]
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-clang/Work/PKGS/repana.Rcheck/tests/testthat
Current directory: /home/hornik/tmp/R.check/r-devel-clang/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-clang/Work/PKGS/repana.Rcheck/tests/testthat
TEMPORARY directory: /home/hornik/tmp/scratch/RtmpxcqFgp/file1a22f459f43c8f
./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 04:31:29"
[1] "./00_clean.R"
[1] "3.015007 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 04:31:32"
[1] "./02_prog_a.R"
[1] "2.488981 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 04:31:35"
[1] "./03_prog_b.R"
[1] "2.899287 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 04:31:38"
[1] "./04_prog_c.R"
[1] "0.09505582 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 04:31:38"
[1] "./05_prog_d.R"
[1] "2.919889 secs"
[1] "FAIL"
timestart script elapsed comments
1 2025-02-21 04:31:29 ./00_clean.R 3.015007 secs FAIL
2 2025-02-21 04:31:32 ./02_prog_a.R 2.488981 secs FAIL
3 2025-02-21 04:31:35 ./03_prog_b.R 2.899287 secs FAIL
4 2025-02-21 04:31:38 ./04_prog_c.R 0.09505582 secs FAIL
5 2025-02-21 04:31:38 ./05_prog_d.R 2.919889 secs FAIL
Current directory: /home/hornik/tmp/scratch/RtmpxcqFgp/file1a22f459f43c8f
TEMPORARY directory: /home/hornik/tmp/scratch/RtmpxcqFgp/file1a22f432f8509d
./00_clean.R
outputfile: logs/00_clean
[1] "2025-02-21 04:31:41"
[1] "./00_clean.R"
[1] "0.5325353 secs"
[1] ":-)"
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-21 04:31:42"
[1] "./02_prog_a.R"
[1] "0.5815067 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-21 04:31:42"
[1] "./03_prog_b.R"
[1] "0.6122904 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 04:31:43"
[1] "./04_prog_c.R"
[1] "0.0751617 secs"
[1] "FAIL"
./05_prog_d.R
outputfile: logs/05_prog_d
[1] "2025-02-21 04:31:43"
[1] "./05_prog_d.R"
[1] "0.5256436 secs"
[1] ":-)"
timestart script elapsed comments
1 2025-02-21 04:31:41 ./00_clean.R 0.5325353 secs :-)
2 2025-02-21 04:31:42 ./02_prog_a.R 0.5815067 secs :-)
3 2025-02-21 04:31:42 ./03_prog_b.R 0.6122904 secs :-)
4 2025-02-21 04:31:43 ./04_prog_c.R 0.0751617 secs FAIL
5 2025-02-21 04:31:43 ./05_prog_d.R 0.5256436 secs :-)
Current directory: /home/hornik/tmp/scratch/RtmpxcqFgp/file1a22f432f8509d
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-21 04:31:44"
[1] "./02_prog_a.R"
[1] "0.5988398 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-21 04:31:44"
[1] "./03_prog_b.R"
[1] "0.4699409 secs"
[1] ":-)"
Current directory: /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/repana.Rcheck/tests/testthat
TEMPORARY directory: /home/hornik/tmp/scratch/RtmpxcqFgp/file1a22f44d1d1fd2
./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 04:31:45 ./00_clean.R 2.151469 secs :-)
2 2025-02-21 04:31:47 ./02_prog_a.R 0.2966757 secs :-)
3 2025-02-21 04:31:48 ./03_prog_b.R 0.2818124 secs :-)
4 2025-02-21 04:31:48 ./04_prog_c.R 0.2900629 secs FAIL
5 2025-02-21 04:31:48 ./05_prog_d.R 2.209032 secs :-)
Current directory: /home/hornik/tmp/scratch/RtmpxcqFgp/file1a22f44d1d1fd2
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-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/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-clang/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/RtmpxcqFgp/rmarkdown-str1a22f4798564ed.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-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/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-clang/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/RtmpxcqFgp/rmarkdown-str1a22f47e2e1ebc.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-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-clang/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-clang/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/RtmpxcqFgp/rmarkdown-str1a22f418538dae.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