CRAN Package Check Results for Package DSAIRM

Last updated on 2020-08-19 01:49:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.6 9.27 148.52 157.79 OK
r-devel-linux-x86_64-debian-gcc 0.8.6 7.77 104.85 112.62 OK
r-devel-linux-x86_64-fedora-clang 0.8.6 183.06 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8.6 174.55 NOTE
r-devel-windows-ix86+x86_64 0.8.6 36.00 225.00 261.00 OK
r-patched-linux-x86_64 0.8.6 8.36 140.15 148.51 OK
r-patched-solaris-x86 0.8.6 232.60 NOTE
r-release-linux-x86_64 0.8.6 10.22 140.44 150.66 OK
r-release-macos-x86_64 0.8.6 NOTE
r-release-windows-ix86+x86_64 0.8.6 31.00 150.00 181.00 OK
r-oldrel-macos-x86_64 0.8.6 ERROR
r-oldrel-windows-ix86+x86_64 0.8.6 18.00 154.00 172.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' [52s]
    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