CRAN Package Check Results for Package DSAIRM

Last updated on 2021-02-26 11:50:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.6 9.46 159.64 169.10 OK
r-devel-linux-x86_64-debian-gcc 0.8.6 8.61 113.51 122.12 OK
r-devel-linux-x86_64-fedora-clang 0.8.6 207.76 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8.6 196.67 NOTE
r-devel-windows-ix86+x86_64 0.8.6 15.00 133.00 148.00 OK
r-patched-linux-x86_64 0.8.6 10.13 144.88 155.01 OK
r-patched-solaris-x86 0.8.6 244.40 NOTE
r-release-linux-x86_64 0.8.6 8.93 145.36 154.29 OK
r-release-macos-x86_64 0.8.6 NOTE
r-release-windows-ix86+x86_64 0.8.6 23.00 204.00 227.00 OK
r-oldrel-macos-x86_64 0.8.6 ERROR
r-oldrel-windows-ix86+x86_64 0.8.6 14.00 158.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:
     initial value for variable 3 must be positive (currently -10)
     Error in eval(generate_fctcall(modelsettings)) :
     attempt to apply non-function
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-generate_shinyinput.R:21:13): generate_shinyinput correctly produces a shiny input structure ──
     Error: 'nchar()' requires a character vector
     Backtrace:
     █
     1. └─base::nchar(appsettings$simfunction2) test-generate_shinyinput.R:21:12
     ── Error (test-run_model.R:58:13): run_model correctly runs different models ───
     Error: $ operator is invalid for atomic vectors
    
     [ FAIL 2 | WARN 4 | SKIP 0 | PASS 54 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.8.6
Check: tests
Result: ERROR
     Running 'testthat.R' [53s]
    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")
     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
     == Warnings ====================================================================
     -- Warning (test-generate_usplot.R:56:13): running US analysis app returns the proper plots --
     Using shapes for an ordinal variable is not advised
     Backtrace:
     1. testthat::expect_is(generate_ggplot(result), "gtable") test-generate_usplot.R:56:12
     4. DSAIRM::generate_ggplot(result)
     5. gridExtra::grid.arrange(grobs = allplots, ncol = res[[1]]$ncols)
     6. gridExtra::arrangeGrob(...)
     7. base::lapply(grobs[toconv], ggplot2::ggplotGrob)
     8. ggplot2:::FUN(X[[i]], ...)
     11. ggplot2:::ggplot_build.ggplot(x)
     12. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     13. ggplot2:::f(l = layers[[i]], d = data[[i]])
     14. l$compute_aesthetics(d, plot)
     15. ggplot2:::f(..., self = self)
     16. ggplot2:::scales_add_defaults(...)
     19. ggplot2:::find_scale(aes, datacols[[aes]], env)
     20. ggplot2:::scale_f()
     -- Warning (test-generate_usplot.R:56:13): running US analysis app returns the proper plots --
     Using shapes for an ordinal variable is not advised
     Backtrace:
     1. testthat::expect_is(generate_ggplot(result), "gtable") test-generate_usplot.R:56:12
     4. DSAIRM::generate_ggplot(result)
     5. gridExtra::grid.arrange(grobs = allplots, ncol = res[[1]]$ncols)
     6. gridExtra::arrangeGrob(...)
     7. base::lapply(grobs[toconv], ggplot2::ggplotGrob)
     8. ggplot2:::FUN(X[[i]], ...)
     11. ggplot2:::ggplot_build.ggplot(x)
     12. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     13. ggplot2:::f(l = layers[[i]], d = data[[i]])
     14. l$compute_aesthetics(d, plot)
     15. ggplot2:::f(..., self = self)
     16. ggplot2:::scales_add_defaults(...)
     19. ggplot2:::find_scale(aes, datacols[[aes]], env)
     20. ggplot2:::scale_f()
     -- Warning (test-generate_usplot.R:56:13): running US analysis app returns the proper plots --
     Using shapes for an ordinal variable is not advised
     Backtrace:
     1. testthat::expect_is(generate_ggplot(result), "gtable") test-generate_usplot.R:56:12
     4. DSAIRM::generate_ggplot(result)
     5. gridExtra::grid.arrange(grobs = allplots, ncol = res[[1]]$ncols)
     6. gridExtra::arrangeGrob(...)
     7. base::lapply(grobs[toconv], ggplot2::ggplotGrob)
     8. ggplot2:::FUN(X[[i]], ...)
     11. ggplot2:::ggplot_build.ggplot(x)
     12. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     13. ggplot2:::f(l = layers[[i]], d = data[[i]])
     14. l$compute_aesthetics(d, plot)
     15. ggplot2:::f(..., self = self)
     16. ggplot2:::scales_add_defaults(...)
     19. ggplot2:::find_scale(aes, datacols[[aes]], env)
     20. ggplot2:::scale_f()
     -- Warning (test-run_model.R:57:13): run_model correctly runs different models --
     argument is not a function
     Backtrace:
     1. DSAIRM::run_model(modelsettings) test-run_model.R:57:12
     8. DSAIRM::generate_fctcall(modelsettings)
     9. base::formals(currentmodel)
    
     == Failed tests ================================================================
     -- Error (test-generate_shinyinput.R:21:13): generate_shinyinput correctly produces a shiny input structure --
     Error: 'nchar()' requires a character vector
     Backtrace:
     x
     1. \-base::nchar(appsettings$simfunction2) test-generate_shinyinput.R:21:12
     -- Error (test-run_model.R:58:13): run_model correctly runs different models ---
     Error: $ operator is invalid for atomic vectors
    
     [ FAIL 2 | WARN 4 | SKIP 0 | PASS 54 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64