Running ‘testthat.R’ [19s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(scdhlm)
  Loading required package: nlme
  > 
  > test_check("scdhlm")
  [ FAIL 3 | WARN 1 | SKIP 10 | PASS 156 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Auxiliary dataset not included in package. (2)
  • dependenciesInstalled() is not TRUE (1)
  • empty test (7)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_graphing_functions.R:89'): graph_SCD works for design = 'MBP' ──
  Error in `as.list.environment(target, all.names = all.names, sorted = TRUE)`: object 'case' not found
  Backtrace:
       ▆
    1. └─testthat::expect_equal(Laski_graph1[keys], Laski_graph2[keys]) at test_graphing_functions.R:89:2
    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.list(...)
    8.         ├─base::all.equal(...)
    9.         └─base::all.equal.default(...)
   10.           └─base::all.equal.environment(target, current, ...)
   11.             └─base::all.equal.list(Lt, Lc, ...)
   12.               ├─base::all.equal(...)
   13.               └─base::all.equal.function(...)
   14.                 └─base::all.equal.environment(...)
   15.                   └─base::all.equal.list(Lt, Lc, ...)
   16.                     ├─base::all.equal(...)
   17.                     └─base::all.equal.environment(...)
   18.                       └─base::all.equal.list(Lt, Lc, ...)
   19.                         ├─base::all.equal(...)
   20.                         └─base::all.equal.environment(...)
   21.                           └─base::as.list.environment(target, all.names = all.names, sorted = TRUE)
  ── Error ('test_graphing_functions.R:131'): graph_SCD works for design = 'RMBB' ──
  Error in `as.list.environment(target, all.names = all.names, sorted = TRUE)`: object 'case' not found
  Backtrace:
       ▆
    1. └─testthat::expect_equal(Thiemann_graph1[keys], Thiemann_graph3[keys]) at test_graphing_functions.R:131:2
    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.list(...)
    8.         ├─base::all.equal(...)
    9.         └─base::all.equal.default(...)
   10.           └─base::all.equal.environment(target, current, ...)
   11.             └─base::all.equal.list(Lt, Lc, ...)
   12.               ├─base::all.equal(...)
   13.               └─base::all.equal.function(...)
   14.                 └─base::all.equal.environment(...)
   15.                   └─base::all.equal.list(Lt, Lc, ...)
   16.                     ├─base::all.equal(...)
   17.                     └─base::all.equal.environment(...)
   18.                       └─base::all.equal.list(Lt, Lc, ...)
   19.                         ├─base::all.equal(...)
   20.                         └─base::all.equal.environment(...)
   21.                           └─base::as.list.environment(target, all.names = all.names, sorted = TRUE)
  ── Error ('test_graphing_functions.R:176'): graph_SCD works for design = 'CMB' ──
  Error in `as.list.environment(target, all.names = all.names, sorted = TRUE)`: object 'case' not found
  Backtrace:
       ▆
    1. └─testthat::expect_equal(Bry_graph1[keys], Bry_graph3[keys]) at test_graphing_functions.R:176:2
    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.list(...)
    8.         ├─base::all.equal(...)
    9.         └─base::all.equal.default(...)
   10.           └─base::all.equal.environment(target, current, ...)
   11.             └─base::all.equal.list(Lt, Lc, ...)
   12.               ├─base::all.equal(...)
   13.               └─base::all.equal.function(...)
   14.                 └─base::all.equal.environment(...)
   15.                   └─base::all.equal.list(Lt, Lc, ...)
   16.                     ├─base::all.equal(...)
   17.                     └─base::all.equal.environment(...)
   18.                       └─base::all.equal.list(Lt, Lc, ...)
   19.                         ├─base::all.equal(...)
   20.                         └─base::all.equal.environment(...)
   21.                           └─base::as.list.environment(target, all.names = all.names, sorted = TRUE)
  
  [ FAIL 3 | WARN 1 | SKIP 10 | PASS 156 ]
  Error: Test failures
  Execution halted