CRAN Package Check Results for Package datacutr

Last updated on 2024-12-21 07:50:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 6.16 78.75 84.91 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 4.44 59.79 64.23 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 147.50 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 149.19 OK
r-patched-linux-x86_64 0.2.1 6.18 76.05 82.23 ERROR
r-release-linux-x86_64 0.2.1 6.17 74.95 81.12 ERROR
r-release-macos-arm64 0.2.1 57.00 OK
r-release-macos-x86_64 0.2.1 93.00 OK
r-release-windows-x86_64 0.2.1 10.00 118.00 128.00 OK
r-oldrel-macos-arm64 0.2.1 58.00 OK
r-oldrel-macos-x86_64 0.2.1 91.00 OK
r-oldrel-windows-x86_64 0.2.1 11.00 122.00 133.00 OK

Check Details

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/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." [1] "At least 1 patient with missing datacut date, all records will be kept." [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-process_cut.R:180:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:180:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-process_cut.R:224:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:224:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-read_out.R:79:3'): Correct .Rmd file is run successfully when fields contain correct data inputs ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(...) at test-read_out.R:79:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") ── Error ('test-read_out.R:95:3'): Correct .Rmd file is ran successfully when fields are empty ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(out_path = tempdir()) at test-read_out.R:95:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/10s] 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." [1] "At least 1 patient with missing datacut date, all records will be kept." [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-process_cut.R:180:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:180:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-process_cut.R:224:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:224:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-read_out.R:79:3'): Correct .Rmd file is run successfully when fields contain correct data inputs ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(...) at test-read_out.R:79:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") ── Error ('test-read_out.R:95:3'): Correct .Rmd file is ran successfully when fields are empty ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(out_path = tempdir()) at test-read_out.R:95:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/13s] 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." [1] "At least 1 patient with missing datacut date, all records will be kept." [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-process_cut.R:180:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:180:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-process_cut.R:224:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:224:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-read_out.R:79:3'): Correct .Rmd file is run successfully when fields contain correct data inputs ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(...) at test-read_out.R:79:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") ── Error ('test-read_out.R:95:3'): Correct .Rmd file is ran successfully when fields are empty ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(out_path = tempdir()) at test-read_out.R:95:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/11s] 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." [1] "At least 1 patient with missing datacut date, all records will be kept." [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-process_cut.R:180:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:180:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-process_cut.R:224:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::process_cut(...) at test-process_cut.R:224:3 2. └─datacutr::read_out(...) 3. └─rmarkdown::render(...) 4. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 5. └─xfun::write_utf8(res, output) 6. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 7. └─base::file(con, "w") ── Error ('test-read_out.R:79:3'): Correct .Rmd file is run successfully when fields contain correct data inputs ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(...) at test-read_out.R:79:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") ── Error ('test-read_out.R:95:3'): Correct .Rmd file is ran successfully when fields are empty ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─datacutr::read_out(out_path = tempdir()) at test-read_out.R:95:3 2. └─rmarkdown::render(...) 3. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 4. └─xfun::write_utf8(res, output) 5. └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE) 6. └─base::file(con, "w") [ FAIL 4 | WARN 4 | SKIP 0 | PASS 55 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64