Running ‘spelling.R’
  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/ripley/R/packages/tests32/repana.Rcheck/tests/testthat 
  
  Current directory:  /home/ripley/R/packages/tests32/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/ripley/R/packages/tests32/repana.Rcheck/tests/testthat 
  
  TEMPORARY directory:  /tmp/RtmpK2aioH/working_dir/RtmpNYaaQY/file655048d3da3 
  ./01_clean.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  [1] "2021-05-17 12:01:10"
  Make new directories for: 
  
  database
  
  reports
  
  logs
  
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./01_clean.R    5.737401 secs 
  ./02_prog_a.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  I'm in Program A= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./02_prog_a.R    1.184681 secs 
  ./03_prog_b.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  I'm in program B
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./03_prog_b.R    0.9129648 secs 
  ./04_prog_c.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  I'm in program C and would fail!!Error: prog_test_c makes and error
  Execution halted
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./04_prog_c.R    1.220606 secs 
  ./05_prog_d.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  Loading required package: DBI
  I'm in program D= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./05_prog_d.R    4.883868 secs 
              timestart        script        elapsed comments
  1 2021-05-17 12:01:09  ./01_clean.R  5.737401 secs      :-)
  2 2021-05-17 12:01:15 ./02_prog_a.R  1.184681 secs      :-)
  3 2021-05-17 12:01:16 ./03_prog_b.R 0.9129648 secs      :-)
  4 2021-05-17 12:01:17 ./04_prog_c.R  1.220606 secs     FAIL
  5 2021-05-17 12:01:18 ./05_prog_d.R  4.883868 secs      :-)
  
  Current directory:  /tmp/RtmpK2aioH/working_dir/RtmpNYaaQY/file655048d3da3 
  
  Current directory:  /home/ripley/R/packages/tests32/repana.Rcheck/tests/testthat 
  
  TEMPORARY directory:  /tmp/RtmpK2aioH/working_dir/RtmpNYaaQY/file65505c406650 
  ./01_clean.R 
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  [1] "2021-05-17 12:01:25"
  [1] "./01_clean.R"
  [1] "0.3465366 secs"
  [1] "FAIL"
  ./02_prog_a.R 
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  [1] "2021-05-17 12:01:26"
  [1] "./02_prog_a.R"
  [1] "0.07584429 secs"
  [1] "FAIL"
  ./03_prog_b.R 
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  [1] "2021-05-17 12:01:26"
  [1] "./03_prog_b.R"
  [1] "0.09715128 secs"
  [1] "FAIL"
  ./04_prog_c.R 
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  [1] "2021-05-17 12:01:26"
  [1] "./04_prog_c.R"
  [1] "0.05316687 secs"
  [1] "FAIL"
  ./05_prog_d.R 
  Error : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  [1] "2021-05-17 12:01:26"
  [1] "./05_prog_d.R"
  [1] "0.06732607 secs"
  [1] "FAIL"
              timestart        script         elapsed comments
  1 2021-05-17 12:01:25  ./01_clean.R  0.3465366 secs     FAIL
  2 2021-05-17 12:01:26 ./02_prog_a.R 0.07584429 secs     FAIL
  3 2021-05-17 12:01:26 ./03_prog_b.R 0.09715128 secs     FAIL
  4 2021-05-17 12:01:26 ./04_prog_c.R 0.05316687 secs     FAIL
  5 2021-05-17 12:01:26 ./05_prog_d.R 0.06732607 secs     FAIL
  
  Current directory:  /tmp/RtmpK2aioH/working_dir/RtmpNYaaQY/file65505c406650 
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_master_spin.R:48:3): The pipeline works fine with html ────────
  file.exists("logs/01_clean.html") is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test_master_spin.R:49:3): The pipeline works fine with html ────────
  file.exists("logs/02_prog_a.html") is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test_master_spin.R:50:3): The pipeline works fine with html ────────
  file.exists("logs/03_prog_b.html") is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test_master_spin.R:52:3): The pipeline works fine with html ────────
  file.exists("logs/05_prog_d.html") is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test_master_spin.R:56:3): The pipeline works fine with html ────────
  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]: ":-)"
  ── Error (test_render_report.R:18:3): render_report make a pdf ─────────────────
  Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
  Backtrace:
      █
   1. └─repana::render_report("test_report.Rmd", "html") test_render_report.R:18:2
   2.   └─rmarkdown::render(report, output_format = oformat, ...)
   3.     └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted