Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [18s/34s]
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-gcc/Work/PKGS/repana.Rcheck/tests/testthat 
  
  Current directory:  /home/hornik/tmp/R.check/r-devel-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-devel-gcc/Work/PKGS/repana.Rcheck/tests/testthat 
  
  TEMPORARY directory:  /home/hornik/tmp/scratch/RtmpfX45qL/file8904113f93ff 
  ./01_clean.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  [1] "2021-12-13 03:34:42"
  Make new directories for: 
  
  database
  
  reports
  
  logs
  
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./01_clean.R    2.794387 secs 
  ./02_prog_a.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  I'm in Program A= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./02_prog_a.R    0.5930307 secs 
  ./03_prog_b.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  I'm in program B
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./03_prog_b.R    0.613188 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    0.6621153 secs 
  ./05_prog_d.R 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  Loading required package: DBI
  I'm in program D= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
  ./05_prog_d.R    2.778082 secs 
              timestart        script        elapsed comments
  1 2021-12-13 03:34:41  ./01_clean.R  2.794387 secs      :-)
  2 2021-12-13 03:34:44 ./02_prog_a.R 0.5930307 secs      :-)
  3 2021-12-13 03:34:45 ./03_prog_b.R  0.613188 secs      :-)
  4 2021-12-13 03:34:46 ./04_prog_c.R 0.6621153 secs     FAIL
  5 2021-12-13 03:34:46 ./05_prog_d.R  2.778082 secs      :-)
  
  Current directory:  /home/hornik/tmp/scratch/RtmpfX45qL/file8904113f93ff 
  
  Current directory:  /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/repana.Rcheck/tests/testthat 
  
  TEMPORARY directory:  /home/hornik/tmp/scratch/RtmpfX45qL/file8904152ab2293 
  ./01_clean.R 
  outputfile: ./01_clean.pdf 
     inline R code fragments
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 01_clean.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output 01_clean.tex --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --variable 'geometry:margin=1in' 
  [1] "2021-12-13 03:34:50"
  [1] "./01_clean.R"
  [1] "3.864485 secs"
  [1] ":-)"
  ./02_prog_a.R 
  outputfile: ./02_prog_a.pdf 
    ordinary text without R code
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 02_prog_a.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output 02_prog_a.tex --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --variable 'geometry:margin=1in' 
  [1] "2021-12-13 03:34:54"
  [1] "./02_prog_a.R"
  [1] "3.275837 secs"
  [1] ":-)"
  ./03_prog_b.R 
  outputfile: ./03_prog_b.pdf 
    ordinary text without R code
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 03_prog_b.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output 03_prog_b.tex --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --variable 'geometry:margin=1in' 
  Error : LaTeX failed to compile 03_prog_b.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See 03_prog_b.log for more info.
  [1] "2021-12-13 03:34:58"
  [1] "./03_prog_b.R"
  [1] "1.931222 secs"
  [1] "FAIL"
  ./04_prog_c.R 
  outputfile: ./04_prog_c.pdf 
    ordinary text without R code
  
  label: unnamed-chunk-1
  Error in eval(expr, envir, enclos) : prog_test_c makes and error
  [1] "2021-12-13 03:34:59"
  [1] "./04_prog_c.R"
  [1] "0.1758039 secs"
  [1] "FAIL"
  ./05_prog_d.R 
  outputfile: ./05_prog_d.pdf 
    ordinary text without R code
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 05_prog_d.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output 05_prog_d.tex --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --variable 'geometry:margin=1in' 
  [1] "2021-12-13 03:35:00"
  [1] "./05_prog_d.R"
  [1] "3.57022 secs"
  [1] ":-)"
              timestart        script        elapsed comments
  1 2021-12-13 03:34:50  ./01_clean.R  3.864485 secs      :-)
  2 2021-12-13 03:34:54 ./02_prog_a.R  3.275837 secs      :-)
  3 2021-12-13 03:34:58 ./03_prog_b.R  1.931222 secs     FAIL
  4 2021-12-13 03:34:59 ./04_prog_c.R 0.1758039 secs     FAIL
  5 2021-12-13 03:35:00 ./05_prog_d.R   3.57022 secs      :-)
  
  Current directory:  /home/hornik/tmp/scratch/RtmpfX45qL/file8904152ab2293 
  
  TEMPORARY directory:  /home/hornik/tmp/scratch/RtmpfX45qL/file890413a3ce8c9 
  ./01_clean.R 
  outputfile: ./01_clean.html 
     inline R code fragments
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 01_clean.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output 01_clean.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str8904150a5f57b.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  [1] "2021-12-13 03:35:04"
  [1] "./01_clean.R"
  [1] "0.7142398 secs"
  [1] ":-)"
  ./02_prog_a.R 
  outputfile: ./02_prog_a.html 
    ordinary text without R code
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 02_prog_a.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output 02_prog_a.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str8904124cc6d8d.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  [1] "2021-12-13 03:35:04"
  [1] "./02_prog_a.R"
  [1] "0.6835954 secs"
  [1] ":-)"
  ./03_prog_b.R 
  outputfile: ./03_prog_b.html 
    ordinary text without R code
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 03_prog_b.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output 03_prog_b.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str89041b05b727.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  [1] "2021-12-13 03:35:05"
  [1] "./03_prog_b.R"
  [1] "0.6899912 secs"
  [1] ":-)"
  ./04_prog_c.R 
  outputfile: ./04_prog_c.html 
    ordinary text without R code
  
  label: unnamed-chunk-1
  Error in eval(expr, envir, enclos) : prog_test_c makes and error
  [1] "2021-12-13 03:35:06"
  [1] "./04_prog_c.R"
  [1] "0.07760024 secs"
  [1] "FAIL"
  ./05_prog_d.R 
  outputfile: ./05_prog_d.html 
    ordinary text without R code
  
  label: unnamed-chunk-1
    ordinary text without R code
  
  /usr/bin/pandoc +RTS -K512m -RTS 05_prog_d.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output 05_prog_d.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str8904162386fc1.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  [1] "2021-12-13 03:35:06"
  [1] "./05_prog_d.R"
  [1] "0.6518121 secs"
  [1] ":-)"
              timestart        script         elapsed comments
  1 2021-12-13 03:35:04  ./01_clean.R  0.7142398 secs      :-)
  2 2021-12-13 03:35:04 ./02_prog_a.R  0.6835954 secs      :-)
  3 2021-12-13 03:35:05 ./03_prog_b.R  0.6899912 secs      :-)
  4 2021-12-13 03:35:06 ./04_prog_c.R 0.07760024 secs     FAIL
  5 2021-12-13 03:35:06 ./05_prog_d.R  0.6518121 secs      :-)
  
  Current directory:  /home/hornik/tmp/scratch/RtmpfX45qL/file890413a3ce8c9 
  outputfile: test_report.html 
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: cars
    ordinary text without R code
  
  label: pressure (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  /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-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str890416604e17a.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  outputfile: test_report.html 
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: cars
    ordinary text without R code
  
  label: pressure (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  /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-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str8904149fb6881.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  outputfile: borrar.html 
    ordinary text without R code
  
  label: setup (with options) 
  List of 1
   $ include: logi FALSE
  
    ordinary text without R code
  
  label: cars
    ordinary text without R code
  
  label: pressure (with options) 
  List of 1
   $ echo: logi FALSE
  
    ordinary text without R code
  
  /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-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --standalone --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --include-in-header /home/hornik/tmp/scratch/RtmpfX45qL/rmarkdown-str89041623e7100.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' 
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_master_spin.R:26:3): The pipeline works fine ──────────────────
  file.exists("logs/03_prog_b.pdf") is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test_master_spin.R:32:3): The pipeline works fine ──────────────────
  masterfile$comments not equal to c(":-)", ":-)", ":-)", "FAIL", ":-)").
  1/5 mismatches
  x[3]: "FAIL"
  y[3]: ":-)"
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 80 ]
  Error: Test failures
  Execution halted