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