Running 'testthat.R' [65s]
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 (test-generate_shinyinput.R:21:13): generate_shinyinput correctly produ
  Error: 'nchar()' requires a character vector
  Backtrace:
      x
   1. \-base::nchar(appsettings$simfunction2) test-generate_shinyinput.R:21:12
  
  -- Warning (test-generate_usplot.R:45:13): running US analysis app returns the p
  `arrange_()` is deprecated as of dplyr 0.7.0.
  Please use `arrange()` instead.
  See vignette('programming') for more help
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  -- Warning (test-generate_usplot.R:56:13): running US analysis app returns the p
  Using shapes for an ordinal variable is not advised
  
  -- Warning (test-generate_usplot.R:56:13): running US analysis app returns the p
  Using shapes for an ordinal variable is not advised
  
  -- Warning (test-generate_usplot.R:56:13): running US analysis app returns the p
  Using shapes for an ordinal variable is not advised
  
  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)
  -- Warning (test-run_model.R:57:13): run_model correctly runs different models -
  argument is not a function
  
  Error in eval(generate_fctcall(modelsettings)) : 
    attempt to apply non-function
  -- ERROR (test-run_model.R:58:13): run_model correctly runs different models ---
  Error: $ operator is invalid for atomic vectors
  
  == testthat results  ===========================================================
  ERROR (test-generate_shinyinput.R:21:13): generate_shinyinput correctly produces a shiny input structure
  Warning (test-generate_usplot.R:45:13): running US analysis app returns the proper plots
  Warning (test-generate_usplot.R:56:13): running US analysis app returns the proper plots
  Warning (test-generate_usplot.R:56:13): running US analysis app returns the proper plots
  Warning (test-generate_usplot.R:56:13): running US analysis app returns the proper plots
  Warning (test-run_model.R:57:13): run_model correctly runs different models
  ERROR (test-run_model.R:58:13): run_model correctly runs different models
  
  [ FAIL 2 | WARN 5 | SKIP 0 | PASS 54 ]
  Error: Test failures
  Execution halted