- 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 '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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'repana' 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 ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [50s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [50s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(repana)
Loading required package: DBI
>
> test_check("repana")
Current directory: d:/Rcompile/CRANpkg/local/4.3/repana.Rcheck/tests/testthat
Current directory: d:/Rcompile/CRANpkg/local/4.3/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: d:/Rcompile/CRANpkg/local/4.3/repana.Rcheck/tests/testthat
TEMPORARY directory: D:\temp\2025_02_21_01_50_00_1228\RtmpWGhE5L\file1408c60af64b6
./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 08:21:45"
[1] "./00_clean.R"
[1] "7.405815 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 08:21:53"
[1] "./02_prog_a.R"
[1] "7.328144 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 08:22:00"
[1] "./03_prog_b.R"
[1] "7.280881 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 08:22:07"
[1] "./04_prog_c.R"
[1] "0.09395599 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 08:22:07"
[1] "./05_prog_d.R"
[1] "7.199633 secs"
[1] "FAIL"
timestart script elapsed comments
1 2025-02-21 08:21:45 ./00_clean.R 7.405815 secs FAIL
2 2025-02-21 08:21:53 ./02_prog_a.R 7.328144 secs FAIL
3 2025-02-21 08:22:00 ./03_prog_b.R 7.280881 secs FAIL
4 2025-02-21 08:22:07 ./04_prog_c.R 0.09395599 secs FAIL
5 2025-02-21 08:22:07 ./05_prog_d.R 7.199633 secs FAIL
Current directory: D:/temp/2025_02_21_01_50_00_1228/RtmpWGhE5L/file1408c60af64b6
TEMPORARY directory: D:\temp\2025_02_21_01_50_00_1228\RtmpWGhE5L\file1408c2d7520e
./00_clean.R
outputfile: logs/00_clean
[1] "2025-02-21 08:22:15"
[1] "./00_clean.R"
[1] "0.8775189 secs"
[1] ":-)"
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-21 08:22:16"
[1] "./02_prog_a.R"
[1] "0.798332 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-21 08:22:16"
[1] "./03_prog_b.R"
[1] "1.289047 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 08:22:18"
[1] "./04_prog_c.R"
[1] "0.1194839 secs"
[1] "FAIL"
./05_prog_d.R
outputfile: logs/05_prog_d
[1] "2025-02-21 08:22:18"
[1] "./05_prog_d.R"
[1] "0.805007 secs"
[1] ":-)"
timestart script elapsed comments
1 2025-02-21 08:22:15 ./00_clean.R 0.8775189 secs :-)
2 2025-02-21 08:22:16 ./02_prog_a.R 0.798332 secs :-)
3 2025-02-21 08:22:16 ./03_prog_b.R 1.289047 secs :-)
4 2025-02-21 08:22:18 ./04_prog_c.R 0.1194839 secs FAIL
5 2025-02-21 08:22:18 ./05_prog_d.R 0.805007 secs :-)
Current directory: D:/temp/2025_02_21_01_50_00_1228/RtmpWGhE5L/file1408c2d7520e
./02_prog_a.R
outputfile: logs/02_prog_a
[1] "2025-02-21 08:22:19"
[1] "./02_prog_a.R"
[1] "0.7709739 secs"
[1] ":-)"
./03_prog_b.R
outputfile: logs/03_prog_b
[1] "2025-02-21 08:22:20"
[1] "./03_prog_b.R"
[1] "0.862314 secs"
[1] ":-)"
Current directory: d:/Rcompile/CRANpkg/local/4.3/repana.Rcheck/tests/testthat
TEMPORARY directory: D:\temp\2025_02_21_01_50_00_1228\RtmpWGhE5L\file1408cffc41cf
./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
Loading required package: methods
I'm in program D timestart script elapsed comments
1 2025-02-21 08:22:21 ./00_clean.R 1.974611 secs :-)
2 2025-02-21 08:22:23 ./02_prog_a.R 0.2513549 secs :-)
3 2025-02-21 08:22:23 ./03_prog_b.R 0.295908 secs :-)
4 2025-02-21 08:22:23 ./04_prog_c.R 0.2564209 secs FAIL
5 2025-02-21 08:22:23 ./05_prog_d.R 2.457137 secs :-)
Current directory: D:/temp/2025_02_21_01_50_00_1228/RtmpWGhE5L/file1408cffc41cf
outputfile: test_report.html
"C:/PROGRA~1/Pandoc/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 "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_21_01_50_00_1228\RtmpWGhE5L\rmarkdown-str1408c59f147b2.html"
outputfile: test_report.html
"C:/PROGRA~1/Pandoc/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 "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_21_01_50_00_1228\RtmpWGhE5L\rmarkdown-str1408c3bd7f04.html"
outputfile: borrar.html
"C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS test_report.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output borrar.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_21_01_50_00_1228\RtmpWGhE5L\rmarkdown-str1408c79c764fe.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 in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [8s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR