CRAN Package Check Results for Package DSAIRM

Last updated on 2020-08-07 01:49:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.6 9.87 150.85 160.72 OK
r-devel-linux-x86_64-debian-gcc 0.8.6 7.36 104.55 111.91 OK
r-devel-linux-x86_64-fedora-clang 0.8.6 184.32 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8.6 174.40 NOTE
r-devel-windows-ix86+x86_64 0.8.6 28.00 216.00 244.00 OK
r-patched-linux-x86_64 0.8.6 10.28 140.55 150.83 OK
r-patched-solaris-x86 0.8.6 228.30 NOTE
r-release-linux-x86_64 0.8.6 9.43 140.97 150.40 OK
r-release-macos-x86_64 0.8.6 NOTE
r-release-windows-ix86+x86_64 0.8.6 28.00 156.00 184.00 OK
r-oldrel-macos-x86_64 0.8.6 ERROR
r-oldrel-windows-ix86+x86_64 0.8.6 18.00 158.00 176.00 ERROR

Check Details

Version: 0.8.6
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘tidyr’
     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-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.8.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [39s/39s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     wrong sign in 'by' argument
     Error in adaptivetau::ssa.adaptivetau(init.values = Y0, transitions = transitions, :
     initial value for variable 3 must be positive (currently -10)
     Error in eval(generate_fctcall(modelsettings)) :
     attempt to apply non-function
     ── 2. Error: run_model correctly runs different models (@test-run_model.R#58) ─
     $ operator is invalid for atomic vectors
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 54 | SKIPPED: 0 | WARNINGS: 5 | FAILED: 2 ]
     1. Error: generate_shinyinput correctly produces a shiny input structure (@test-generate_shinyinput.R#21)
     2. Error: run_model correctly runs different models (@test-run_model.R#58)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.8.6
Check: tests
Result: ERROR
     Running 'testthat.R' [55s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(DSAIRM)
     Loading required package: shiny
     Welcome to the DSAIRM package. Type dsairmmenu() to get started.
     >
     > test_check("DSAIRM")
     -- 1. Error: generate_shinyinput correctly produces a shiny input structure (@te
     'nchar()' requires a character vector
     Backtrace:
     1. base::nchar(appsettings$simfunction2)
    
     Error in seq.default(tstart, tfinal, by = dt) :
     wrong sign in 'by' argument
     Error in adaptivetau::ssa.adaptivetau(init.values = Y0, transitions = transitions, :
     initial value for variable 3 must be positive (currently -10)
     Error in eval(generate_fctcall(modelsettings)) :
     attempt to apply non-function
     -- 2. Error: run_model correctly runs different models (@test-run_model.R#58) -
     $ operator is invalid for atomic vectors
    
     == testthat results ===========================================================
     [ OK: 54 | SKIPPED: 0 | WARNINGS: 5 | FAILED: 2 ]
     1. Error: generate_shinyinput correctly produces a shiny input structure (@test-generate_shinyinput.R#21)
     2. Error: run_model correctly runs different models (@test-run_model.R#58)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64