Running ‘testthat.R’ [4s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mshap)
  > 
  > test_check("mshap")
  [ FAIL 8 | WARN 2 | SKIP 0 | PASS 19 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-plots.R:25:3'): Summary Plot Returns ggplot object ───────────
  `p1` has type 'object', not 'list'.
  ── Failure ('test-plots.R:26:3'): Summary Plot Returns ggplot object ───────────
  class(p1) (`actual`) not equal to c("gg", "ggplot") (`expected`).
  
  `actual`:        "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"    
  `expected[2:2]`:                                                      "ggplot"
  ── Failure ('test-plots.R:30:3'): Observation Plot Returns ggplot object ───────
  `p2` has type 'object', not 'list'.
  ── Failure ('test-plots.R:31:3'): Observation Plot Returns ggplot object ───────
  class(p2) (`actual`) not equal to c("gg", "ggplot") (`expected`).
  
  `actual`:        "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"    
  `expected[2:2]`:                                                      "ggplot"
  ── Failure ('test-plots.R:56:3'): Summary Plot Works with all arguments ────────
  `p1_all` has type 'object', not 'list'.
  ── Failure ('test-plots.R:57:3'): Summary Plot Works with all arguments ────────
  class(p1_all) (`actual`) not equal to c("gg", "ggplot") (`expected`).
  
  `actual`:        "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"    
  `expected[2:2]`:                                                      "ggplot"
  ── Failure ('test-plots.R:61:3'): Observation Plot Works with all arguments ────
  `p2_all` has type 'object', not 'list'.
  ── Failure ('test-plots.R:62:3'): Observation Plot Works with all arguments ────
  class(p2_all) (`actual`) not equal to c("gg", "ggplot") (`expected`).
  
  `actual`:        "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"    
  `expected[2:2]`:                                                      "ggplot"
  
  [ FAIL 8 | WARN 2 | SKIP 0 | PASS 19 ]
  Error: Test failures
  Execution halted