Running ‘testthat.R’ [19s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cvasi)
  
  Attaching package: 'cvasi'
  
  The following object is masked from 'package:stats':
  
      simulate
  
  The following object is masked from 'package:base':
  
      sequence
  
  > 
  > test_check("cvasi")
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 708 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-GUTS_ring_test.R:24:3', 'test-GUTS_ring_test.R:82:3'
  • morse GUTS-RED-SD parameter file unavailable (2):
    'test-GUTS_ring_test.R:163:3', 'test-GUTS_ring_test.R:196:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-survival.R:42:3'): GUTS-RED constant exposure ──────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'morse'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-survival.R:42:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-survival.R:98:3'): GUTS-RED time-variable exposure ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'morse'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-survival.R:98:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-survival.R:155:3'): GUTS-RED extreme cases ─────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'morse'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-survival.R:155:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-survival.R:293:5'): GUTS-RED sensitivity analysis ──────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'morse'
  Backtrace:
      ▆
   1. ├─... %>% tail(1) at test-survival.R:293:5
   2. ├─utils::tail(., 1)
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 708 ]
  Error: Test failures
  Execution halted