Running ‘testthat.R’ [92s/240s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(scdhlm)
  Loading required package: nlme
  > 
  > test_check("scdhlm")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 261 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • Auxiliary dataset not included in package. (1): 'test_user_examples.R:5:3'
  • On CRAN (2): 'test-calc_BCSMD.R:224:3', 'test-calc_BCSMD.R:310:3'
  • dependenciesInstalled() is not TRUE (1): 'test-scdhlm-app.R:18:1'
  • empty test (7): 'test_HPS_functions.R:9:1', 'test_HPS_functions.R:13:1',
    'test_HPS_functions.R:17:1', 'test_HPS_functions.R:21:1',
    'test_HPS_functions.R:25:1', 'test_HPS_functions.R:29:1',
    'test_HPS_functions.R:33:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_graphing_functions.R:70:3'): graph_SCD works for design = 'MBP' ──
  Error in `eval(code, test_env)`: object 'case' not found
  Backtrace:
       ▆
    1. └─testthat::expect_equal(Laski_graph1[keys], Laski_graph2[keys]) at test_graphing_functions.R:70:3
    2.   ├─testthat::compare(act$val, exp$val, ...)
    3.   └─testthat:::compare.default(act$val, exp$val, ...)
    4.     ├─base::all.equal(x, y, ...)
    5.     └─base::all.equal.list(x, y, ...)
    6.       ├─base::all.equal(...)
    7.       └─base::all.equal.default(...)
    8.         └─base::all.equal.environment(target, current, ...)
    9.           └─base::all.equal.list(Lt, Lc, ...)
   10.             ├─base::all.equal(...)
   11.             └─base::all.equal.function(...)
   12.               └─base::all.equal.environment(...)
   13.                 └─base::all.equal.list(Lt, Lc, ...)
   14.                   ├─base::all.equal(...)
   15.                   └─base::all.equal.environment(...)
   16.                     └─base::all.equal.list(Lt, Lc, ...)
   17.                       ├─base::all.equal(...)
   18.                       └─base::all.equal.environment(...)
   19.                         └─base::as.list.environment(target, all.names = all.names, sorted = TRUE)
  ── Error ('test_graphing_functions.R:141:3'): graph_SCD works for design = 'RMBB' ──
  Error in `eval(code, test_env)`: object 'case' not found
  Backtrace:
       ▆
    1. └─testthat::expect_equal(Thiemann_graph3[keys], Thiemann_graph4[keys]) at test_graphing_functions.R:141:3
    2.   ├─testthat::compare(act$val, exp$val, ...)
    3.   └─testthat:::compare.default(act$val, exp$val, ...)
    4.     ├─base::all.equal(x, y, ...)
    5.     └─base::all.equal.list(x, y, ...)
    6.       ├─base::all.equal(...)
    7.       └─base::all.equal.default(...)
    8.         └─base::all.equal.environment(target, current, ...)
    9.           └─base::all.equal.list(Lt, Lc, ...)
   10.             ├─base::all.equal(...)
   11.             └─base::all.equal.function(...)
   12.               └─base::all.equal.environment(...)
   13.                 └─base::all.equal.list(Lt, Lc, ...)
   14.                   ├─base::all.equal(...)
   15.                   └─base::all.equal.environment(...)
   16.                     └─base::all.equal.list(Lt, Lc, ...)
   17.                       ├─base::all.equal(...)
   18.                       └─base::all.equal.environment(...)
   19.                         └─base::as.list.environment(target, all.names = all.names, sorted = TRUE)
  ── Error ('test_graphing_functions.R:197:3'): graph_SCD works for design = 'CMB' ──
  Error in `eval(code, test_env)`: object 'case' not found
  Backtrace:
       ▆
    1. └─testthat::expect_equal(Bry_graph3[keys], Bry_graph4[keys]) at test_graphing_functions.R:197:3
    2.   ├─testthat::compare(act$val, exp$val, ...)
    3.   └─testthat:::compare.default(act$val, exp$val, ...)
    4.     ├─base::all.equal(x, y, ...)
    5.     └─base::all.equal.list(x, y, ...)
    6.       ├─base::all.equal(...)
    7.       └─base::all.equal.default(...)
    8.         └─base::all.equal.environment(target, current, ...)
    9.           └─base::all.equal.list(Lt, Lc, ...)
   10.             ├─base::all.equal(...)
   11.             └─base::all.equal.function(...)
   12.               └─base::all.equal.environment(...)
   13.                 └─base::all.equal.list(Lt, Lc, ...)
   14.                   ├─base::all.equal(...)
   15.                   └─base::all.equal.environment(...)
   16.                     └─base::all.equal.list(Lt, Lc, ...)
   17.                       ├─base::all.equal(...)
   18.                       └─base::all.equal.default(...)
   19.                         └─base::all.equal.list(target, current, ...)
   20.                           ├─base::all.equal(...)
   21.                           └─base::all.equal.environment(...)
   22.                             └─base::as.list.environment(target, all.names = all.names, sorted = TRUE)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 261 ]
  Error: Test failures
  Execution halted