CRAN Package Check Results for Package hesim

Last updated on 2019-05-01 01:51:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 253.56 252.78 506.34 WARN
r-devel-linux-x86_64-debian-gcc 0.2.0 215.43 189.60 405.03 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 687.41 WARN
r-devel-linux-x86_64-fedora-gcc 0.2.0 654.42 NOTE
r-patched-linux-x86_64 0.2.0 248.19 222.37 470.56 OK
r-patched-solaris-x86 0.2.0 771.80 ERROR
r-release-linux-x86_64 0.2.0 254.39 223.29 477.68 OK
r-release-windows-ix86+x86_64 0.2.0 676.00 397.00 1073.00 NOTE
r-release-osx-x86_64 0.2.0 WARN
r-oldrel-windows-ix86+x86_64 0.2.0 662.00 357.00 1019.00 NOTE
r-oldrel-osx-x86_64 0.2.0 NOTE

Additional issues

noLD

Check Details

Version: 0.2.0
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     indiv-ctstm.cpp:35:15: warning: explicitly assigning value of variable of type 'std::vector<int>' to itself [-Wself-assign-overloaded]
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64

Version: 0.2.0
Check: installed package size
Result: NOTE
     installed size is 25.7Mb
     sub-directories of 1Mb or more:
     doc 5.0Mb
     libs 19.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, 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.0
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.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [62s/73s]
    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: 725 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