* using log directory 'd:/RCompile/CRANincoming/R-devel/datacutr.Rcheck' * using R Under development (unstable) (2024-11-14 r87333 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'datacutr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'datacutr' version '0.2.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... WARNING Found the following files with non-portable file names: datacut_ 2024-08-13_092740.html datacut_ 2024-08-13_093004.html datacut_ 2024-08-13_093946.html datacut_ 2024-09-09_083021.html These are not fully portable file names. See section 'Package structure' in the 'Writing R Extensions' manual. * checking whether package 'datacutr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard files/directories found at top level: 'datacut_ 2024-08-13_092740.html' 'datacut_ 2024-08-13_093004.html' 'datacut_ 2024-08-13_093946.html' 'datacut_ 2024-09-09_083021.html' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12s] ERROR Running 'testthat.R' [12s] Running the tests in 'tests/testthat.R' failed. Complete output: > 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE