R Under development (unstable) (2024-11-14 r87333 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(datacutr) > > test_check("datacutr") [1] "At least 1 patient with missing datacut date." [1] "At least 1 patient with missing datacut date, all records will be kept." "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS read_out.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc102d8661655b1.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\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\2024_11_15_20_55_02_2083\RtmpwNCKMl\rmarkdown-str102d844ce2344.html" "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS read_out.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc102d850455f48.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\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\2024_11_15_20_55_02_2083\RtmpwNCKMl\rmarkdown-str102d88da2d3e.html" "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS read_out.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc102d85ff45b60.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\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\2024_11_15_20_55_02_2083\RtmpwNCKMl\rmarkdown-str102d82bfc2179.html" "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS read_out.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc102d81672778f.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\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\2024_11_15_20_55_02_2083\RtmpwNCKMl\rmarkdown-str102d85a192743.html" [1] "At least 1 patient with missing datacut date, all records will be kept." [ FAIL 4 | WARN 8 | SKIP 0 | PASS 55 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-process_cut.R:177:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `convert(output_file, run_citeproc)`: failed to copy rendered pandoc artefact to 'C:/Users/CRAN/Documents/dummyfile/datacut_ 2024-11-15_19:55:55.html' Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:177:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─rmarkdown (local) convert(output_file, run_citeproc) ── Error ('test-process_cut.R:221:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `convert(output_file, run_citeproc)`: failed to copy rendered pandoc artefact to 'C:/Users/CRAN/Documents/dummyfile/datacut_ 2024-11-15_19:55:57.html' Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:221:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─rmarkdown (local) convert(output_file, run_citeproc) ── Error ('test-read_out.R:79:3'): Correct .Rmd file is run successfully when fields contain correct data inputs ── Error in `convert(output_file, run_citeproc)`: failed to copy rendered pandoc artefact to 'D:/RCompile/CRANincoming/R-devel/datacutr.Rcheck/tests/testthat/datacut_ 2024-11-15_19:55:59.html' Backtrace: ▆ 1. └─datacutr::read_out(...) at test-read_out.R:79:3 2. └─rmarkdown::render(...) 3. └─rmarkdown (local) convert(output_file, run_citeproc) ── Error ('test-read_out.R:95:3'): Correct .Rmd file is ran successfully when fields are empty ── Error in `convert(output_file, run_citeproc)`: failed to copy rendered pandoc artefact to 'D:/RCompile/CRANincoming/R-devel/datacutr.Rcheck/tests/testthat/datacut_ 2024-11-15_19:56:01.html' Backtrace: ▆ 1. └─datacutr::read_out() at test-read_out.R:95:3 2. └─rmarkdown::render(...) 3. └─rmarkdown (local) convert(output_file, run_citeproc) [ FAIL 4 | WARN 8 | SKIP 0 | PASS 55 ] Error: Test failures Execution halted