CRAN Package Check Results for Package hesim

Last updated on 2019-11-26 00:51:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 280.84 277.05 557.89 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 246.38 212.22 458.60 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 703.96 WARN
r-devel-linux-x86_64-fedora-gcc 0.2.1 714.48 WARN
r-devel-windows-ix86+x86_64 0.2.1 695.00 428.00 1123.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 0.2.1 604.00 363.00 967.00 WARN
r-patched-linux-x86_64 0.2.1 247.03 238.38 485.41 OK
r-patched-solaris-x86 0.2.1 780.80 ERROR
r-release-linux-x86_64 0.2.1 249.44 254.58 504.02 OK
r-release-windows-ix86+x86_64 0.2.1 689.00 436.00 1125.00 NOTE
r-release-osx-x86_64 0.2.1 NOTE
r-oldrel-windows-ix86+x86_64 0.2.1 468.00 309.00 777.00 NOTE
r-oldrel-osx-x86_64 0.2.1 NOTE

Check Details

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [56s/50s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(hesim)
     >
     > test_check("hesim")
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     sample = 1
     sample = 2
     -- 1. Failure: create_input_mats.flexsurv (@test-input-data.R#302) ------------
     class(input_mats$X[[1]]) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     -- 2. Failure: create_input_mats.flexsurv_list (@test-input-data.R#319) -------
     class(input_mats$X$wei$shape) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     -- 3. Failure: create_input_mats.joined_flexsurv_list (@test-input-data.R#337)
     class(input_mats$X[[1]]$wei$shape) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     == testthat results ===========================================================
     [ OK: 727 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Failure: create_input_mats.flexsurv (@test-input-data.R#302)
     2. Failure: create_input_mats.flexsurv_list (@test-input-data.R#319)
     3. Failure: create_input_mats.joined_flexsurv_list (@test-input-data.R#337)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     ../inst/include/hesim/Rbase/integrate.h:1687:5: warning: array subscript -1 is outside array bounds of ‘double [52]’ [-Warray-bounds]
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [53s/66s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(hesim)
     >
     > test_check("hesim")
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     sample = 1
     sample = 2
     ── 1. Failure: create_input_mats.flexsurv (@test-input-data.R#302) ────────────
     class(input_mats$X[[1]]) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     ── 2. Failure: create_input_mats.flexsurv_list (@test-input-data.R#319) ───────
     class(input_mats$X$wei$shape) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     ── 3. Failure: create_input_mats.joined_flexsurv_list (@test-input-data.R#337)
     class(input_mats$X[[1]]$wei$shape) not equal to "matrix".
     Lengths differ: 2 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 727 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Failure: create_input_mats.flexsurv (@test-input-data.R#302)
     2. Failure: create_input_mats.flexsurv_list (@test-input-data.R#319)
     3. Failure: create_input_mats.joined_flexsurv_list (@test-input-data.R#337)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     ../inst/include/hesim/utils.h:78:23: warning: 'bind2nd<std::__1::plus<double>, double>' is deprecated [-Wdeprecated-declarations]
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.1
Check: installed package size
Result: NOTE
     installed size is 26.8Mb
     sub-directories of 1Mb or more:
     doc 4.6Mb
     libs 21.3Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.2.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘R6’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.2.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     ../inst/include/hesim/Rbase/integrate.h:1687:5: warning: array subscript -1 is below array bounds of 'double [52]' [-Warray-bounds]
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [92s/115s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(hesim)
     >
     > test_check("hesim")
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     Error in flexsurvreg(formula = Surv(futime, fustat) ~ age, data = data_i, :
     Initial values for parameters 1,2 out of range
     ── 1. Failure: Simulate costs and QALYs (@test-ctstm.R#379) ───────────────────
     all(costs[category == "drugs", costs] == 0) isn't true.
    
     ── 2. Failure: Simulate costs and QALYs (@test-ctstm.R#381) ───────────────────
     all(costs$costs == 0) isn't true.
    
     sample = 1
     sample = 2
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 728 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Failure: Simulate costs and QALYs (@test-ctstm.R#379)
     2. Failure: Simulate costs and QALYs (@test-ctstm.R#381)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86