CRAN Package Check Results for Package heemod

Last updated on 2019-02-09 16:46:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.3 9.89 335.00 344.89 ERROR
r-devel-linux-x86_64-debian-gcc 0.9.3 8.03 245.95 253.98 ERROR
r-devel-linux-x86_64-fedora-clang 0.9.3 235.87 OK
r-devel-linux-x86_64-fedora-gcc 0.9.3 206.68 OK
r-devel-windows-ix86+x86_64 0.9.3 21.00 349.00 370.00 OK
r-patched-linux-x86_64 0.9.3 8.86 296.66 305.52 ERROR
r-patched-solaris-x86 0.9.3 429.90 OK
r-release-linux-x86_64 0.9.3 6.84 300.47 307.31 ERROR
r-release-windows-ix86+x86_64 0.9.3 21.00 332.00 353.00 OK
r-release-osx-x86_64 0.9.3 OK
r-oldrel-windows-ix86+x86_64 0.9.3 26.00 486.00 512.00 OK
r-oldrel-osx-x86_64 0.9.3 OK

Check Details

Version: 0.9.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [72s/83s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(heemod)
     >
     > ## the Sys.setenv fixes a problem running tests
     > ## with parallel processing; related to
     > ## https://github.com/hadley/testthat/issues/86 and
     > ## https://github.com/hadley/testthat/issues/144
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("heemod")
     ── 1. Error: absolute path works (@test_tabular_input.R#501) ──────────────────
     cannot open the connection
     1: write.csv(ref_edit, file.path(system.file("tabular/test", package = "heemod"), "edited_ref.csv"),
     row.names = FALSE) at testthat/test_tabular_input.R:501
     2: eval.parent(Call)
     3: eval(expr, p)
     4: eval(expr, p)
     5: write.table(ref_edit, file.path(system.file("tabular/test", package = "heemod"),
     "edited_ref.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     6: file(file, ifelse(append, "a", "w"))
    
     ── 2. Error: Running model from files works. (@test_tabular_input.R#775) ──────
     cannot open the connection
     1: run_model_tabular(location = system.file("tabular/thr", package = "heemod"), run_psa = TRUE,
     run_demo = TRUE, save = TRUE, overwrite = TRUE) at testthat/test_tabular_input.R:775
     2: save_outputs(outputs, output_dir, overwrite)
     3: utils::write.csv(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE)
     4: eval.parent(Call)
     5: eval(expr, p)
     6: eval(expr, p)
     7: write.table(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     8: file(file, ifelse(append, "a", "w"))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 473 SKIPPED: 0 FAILED: 2
     1. Error: absolute path works (@test_tabular_input.R#501)
     2. Error: Running model from files works. (@test_tabular_input.R#775)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.9.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [53s/78s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(heemod)
     >
     > ## the Sys.setenv fixes a problem running tests
     > ## with parallel processing; related to
     > ## https://github.com/hadley/testthat/issues/86 and
     > ## https://github.com/hadley/testthat/issues/144
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("heemod")
     ── 1. Error: absolute path works (@test_tabular_input.R#501) ──────────────────
     cannot open the connection
     1: write.csv(ref_edit, file.path(system.file("tabular/test", package = "heemod"), "edited_ref.csv"),
     row.names = FALSE) at testthat/test_tabular_input.R:501
     2: eval.parent(Call)
     3: eval(expr, p)
     4: eval(expr, p)
     5: write.table(ref_edit, file.path(system.file("tabular/test", package = "heemod"),
     "edited_ref.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     6: file(file, ifelse(append, "a", "w"))
    
     ── 2. Error: Running model from files works. (@test_tabular_input.R#775) ──────
     cannot open the connection
     1: run_model_tabular(location = system.file("tabular/thr", package = "heemod"), run_psa = TRUE,
     run_demo = TRUE, save = TRUE, overwrite = TRUE) at testthat/test_tabular_input.R:775
     2: save_outputs(outputs, output_dir, overwrite)
     3: utils::write.csv(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE)
     4: eval.parent(Call)
     5: eval(expr, p)
     6: eval(expr, p)
     7: write.table(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     8: file(file, ifelse(append, "a", "w"))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 473 SKIPPED: 0 FAILED: 2
     1. Error: absolute path works (@test_tabular_input.R#501)
     2. Error: Running model from files works. (@test_tabular_input.R#775)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [69s/78s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(heemod)
     >
     > ## the Sys.setenv fixes a problem running tests
     > ## with parallel processing; related to
     > ## https://github.com/hadley/testthat/issues/86 and
     > ## https://github.com/hadley/testthat/issues/144
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("heemod")
     ── 1. Error: absolute path works (@test_tabular_input.R#501) ──────────────────
     cannot open the connection
     1: write.csv(ref_edit, file.path(system.file("tabular/test", package = "heemod"), "edited_ref.csv"),
     row.names = FALSE) at testthat/test_tabular_input.R:501
     2: eval.parent(Call)
     3: eval(expr, p)
     4: eval(expr, p)
     5: write.table(ref_edit, file.path(system.file("tabular/test", package = "heemod"),
     "edited_ref.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     6: file(file, ifelse(append, "a", "w"))
    
     ── 2. Error: Running model from files works. (@test_tabular_input.R#775) ──────
     cannot open the connection
     1: run_model_tabular(location = system.file("tabular/thr", package = "heemod"), run_psa = TRUE,
     run_demo = TRUE, save = TRUE, overwrite = TRUE) at testthat/test_tabular_input.R:775
     2: save_outputs(outputs, output_dir, overwrite)
     3: utils::write.csv(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE)
     4: eval.parent(Call)
     5: eval(expr, p)
     6: eval(expr, p)
     7: write.table(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     8: file(file, ifelse(append, "a", "w"))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 473 SKIPPED: 0 FAILED: 2
     1. Error: absolute path works (@test_tabular_input.R#501)
     2. Error: Running model from files works. (@test_tabular_input.R#775)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.9.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [70s/77s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(heemod)
     >
     > ## the Sys.setenv fixes a problem running tests
     > ## with parallel processing; related to
     > ## https://github.com/hadley/testthat/issues/86 and
     > ## https://github.com/hadley/testthat/issues/144
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("heemod")
     ── 1. Error: absolute path works (@test_tabular_input.R#501) ──────────────────
     cannot open the connection
     1: write.csv(ref_edit, file.path(system.file("tabular/test", package = "heemod"), "edited_ref.csv"),
     row.names = FALSE) at testthat/test_tabular_input.R:501
     2: eval.parent(Call)
     3: eval(expr, p)
     4: eval(expr, p)
     5: write.table(ref_edit, file.path(system.file("tabular/test", package = "heemod"),
     "edited_ref.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     6: file(file, ifelse(append, "a", "w"))
    
     ── 2. Error: Running model from files works. (@test_tabular_input.R#775) ──────
     cannot open the connection
     1: run_model_tabular(location = system.file("tabular/thr", package = "heemod"), run_psa = TRUE,
     run_demo = TRUE, save = TRUE, overwrite = TRUE) at testthat/test_tabular_input.R:775
     2: save_outputs(outputs, output_dir, overwrite)
     3: utils::write.csv(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE)
     4: eval.parent(Call)
     5: eval(expr, p)
     6: eval(expr, p)
     7: write.table(summary(outputs$demographics)$scaled_results, file = file.path(output_dir,
     "icer_by_group.csv"), row.names = FALSE, col.names = TRUE, sep = ",", dec = ".",
     qmethod = "double")
     8: file(file, ifelse(append, "a", "w"))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 473 SKIPPED: 0 FAILED: 2
     1. Error: absolute path works (@test_tabular_input.R#501)
     2. Error: Running model from files works. (@test_tabular_input.R#775)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64