Last updated on 2025-01-30 16:49:01 CET.
Package | ERROR | OK |
---|---|---|
datacutr | 5 | 8 |
Current CRAN status: ERROR: 5, OK: 8
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/14s]
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:227: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:227: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:81: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:81: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:99: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 = temp_dir) at test-read_out.R:99: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.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/8s]
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:227: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:227: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:81: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:81: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:99: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 = temp_dir) at test-read_out.R:99: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.2
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:227: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:227: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:81: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:81: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:99: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 = temp_dir) at test-read_out.R:99: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.2
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:227: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:227: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:81: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:81: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:99: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 = temp_dir) at test-read_out.R:99: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
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/7s]
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 0 | 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: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Backtrace:
▆
1. └─datacutr::process_cut(...) at test-process_cut.R:180:3
2. └─datacutr::read_out(...)
3. └─rmarkdown::render(...)
4. └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
5. └─rmarkdown:::stop2(paste(msg, collapse = " "))
── Error ('test-process_cut.R:227:3'): Test that Correct .Rmd file is ran successfully when read_out = TRUE ──
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Backtrace:
▆
1. └─datacutr::process_cut(...) at test-process_cut.R:227:3
2. └─datacutr::read_out(...)
3. └─rmarkdown::render(...)
4. └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
5. └─rmarkdown:::stop2(paste(msg, collapse = " "))
── Error ('test-read_out.R:81:3'): Correct .Rmd file is run successfully when fields contain correct data inputs ──
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Backtrace:
▆
1. └─datacutr::read_out(...) at test-read_out.R:81:3
2. └─rmarkdown::render(...)
3. └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
4. └─rmarkdown:::stop2(paste(msg, collapse = " "))
── Error ('test-read_out.R:99:3'): Correct .Rmd file is ran successfully when fields are empty ──
Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
Backtrace:
▆
1. └─datacutr::read_out(out_path = temp_dir) at test-read_out.R:99:3
2. └─rmarkdown::render(...)
3. └─rmarkdown::pandoc_available(required_pandoc, error = TRUE)
4. └─rmarkdown:::stop2(paste(msg, collapse = " "))
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 55 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.