Running ‘spelling.R’
  Running ‘testthat.R’ [39s/114s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(repana)
  Loading required package: DBI
  > 
  > test_check("repana")
  
  Current directory:  /data/gannet/ripley/R/packages/tests-devel/repana.Rcheck/tests/testthat 
  
  Current directory:  /data/gannet/ripley/R/packages/tests-devel/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:  /data/gannet/ripley/R/packages/tests-devel/repana.Rcheck/tests/testthat 
  
  TEMPORARY directory:  /tmp/RtmpZZIT8T/working_dir/RtmpsShQIh/file250958544fa1f9 
  
   ./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 05:17:49"
  [1] "./00_clean.R"
  [1] "9.382287 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 05:17:58"
  [1] "./02_prog_a.R"
  [1] "16.04505 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 05:18:15"
  [1] "./03_prog_b.R"
  [1] "12.25316 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 05:18:27"
  [1] "./04_prog_c.R"
  [1] "0.2381907 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 05:18:27"
  [1] "./05_prog_d.R"
  [1] "11.33193 secs"
  [1] "FAIL"
              timestart        script        elapsed comments
  1 2025-02-21 05:17:49  ./00_clean.R  9.382287 secs     FAIL
  2 2025-02-21 05:17:58 ./02_prog_a.R  16.04505 secs     FAIL
  3 2025-02-21 05:18:15 ./03_prog_b.R  12.25316 secs     FAIL
  4 2025-02-21 05:18:27 ./04_prog_c.R 0.2381907 secs     FAIL
  5 2025-02-21 05:18:27 ./05_prog_d.R  11.33193 secs     FAIL
  
  Current directory:  /tmp/RtmpZZIT8T/working_dir/RtmpsShQIh/file250958544fa1f9 
  
  TEMPORARY directory:  /tmp/RtmpZZIT8T/working_dir/RtmpsShQIh/file2509587d7fab67 
  
   ./00_clean.R 
  outputfile: logs/00_clean 
  [1] "2025-02-21 05:18:40"
  [1] "./00_clean.R"
  [1] "2.042263 secs"
  [1] ":-)"
  
   ./02_prog_a.R 
  outputfile: logs/02_prog_a 
  [1] "2025-02-21 05:18:42"
  [1] "./02_prog_a.R"
  [1] "1.127607 secs"
  [1] ":-)"
  
   ./03_prog_b.R 
  outputfile: logs/03_prog_b 
  [1] "2025-02-21 05:18:43"
  [1] "./03_prog_b.R"
  [1] "1.307176 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 05:18:44"
  [1] "./04_prog_c.R"
  [1] "0.1640868 secs"
  [1] "FAIL"
  
   ./05_prog_d.R 
  outputfile: logs/05_prog_d 
  [1] "2025-02-21 05:18:44"
  [1] "./05_prog_d.R"
  [1] "1.638122 secs"
  [1] ":-)"
              timestart        script        elapsed comments
  1 2025-02-21 05:18:40  ./00_clean.R  2.042263 secs      :-)
  2 2025-02-21 05:18:42 ./02_prog_a.R  1.127607 secs      :-)
  3 2025-02-21 05:18:43 ./03_prog_b.R  1.307176 secs      :-)
  4 2025-02-21 05:18:44 ./04_prog_c.R 0.1640868 secs     FAIL
  5 2025-02-21 05:18:44 ./05_prog_d.R  1.638122 secs      :-)
  
  Current directory:  /tmp/RtmpZZIT8T/working_dir/RtmpsShQIh/file2509587d7fab67 
  
   ./02_prog_a.R 
  outputfile: logs/02_prog_a 
  [1] "2025-02-21 05:18:46"
  [1] "./02_prog_a.R"
  [1] "1.257843 secs"
  [1] ":-)"
  
   ./03_prog_b.R 
  outputfile: logs/03_prog_b 
  [1] "2025-02-21 05:18:47"
  [1] "./03_prog_b.R"
  [1] "1.02182 secs"
  [1] ":-)"
  
  Current directory:  /data/gannet/ripley/R/packages/tests-devel/repana.Rcheck/tests/testthat 
  
  TEMPORARY directory:  /tmp/RtmpZZIT8T/working_dir/RtmpsShQIh/file2509582464d0b8 
  ./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 05:18:49  ./00_clean.R  10.28862 secs      :-)
  2 2025-02-21 05:19:00 ./02_prog_a.R 0.9827855 secs      :-)
  3 2025-02-21 05:19:01 ./03_prog_b.R  1.174125 secs      :-)
  4 2025-02-21 05:19:02 ./04_prog_c.R 0.5392084 secs     FAIL
  5 2025-02-21 05:19:03 ./05_prog_d.R   11.8793 secs      :-)
  
  Current directory:  /tmp/RtmpZZIT8T/working_dir/RtmpsShQIh/file2509582464d0b8 
  outputfile: test_report.html 
  /data/gannet/ripley/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 /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /data/gannet/ripley/R/test-dev/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/RtmpZZIT8T/working_dir/RtmpsShQIh/rmarkdown-str2509582c621a33.html 
  outputfile: test_report.html 
  /data/gannet/ripley/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 /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /data/gannet/ripley/R/test-dev/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/RtmpZZIT8T/working_dir/RtmpsShQIh/rmarkdown-str2509585d87d6af.html 
  outputfile: borrar.html 
  /data/gannet/ripley/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 /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /data/gannet/ripley/R/test-dev/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /data/gannet/ripley/R/test-dev/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/RtmpZZIT8T/working_dir/RtmpsShQIh/rmarkdown-str25095855f3adcc.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