Running 'spelling.R' [0s]
  Running 'testthat.R' [286s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cvCovEst)
  cvCovEst v0.3.1: Cross-Validated Covariance Matrix Estimation
  > 
  > test_check("cvCovEst")
  == Failed tests ================================================================
  -- Error (test-plot-functions.R:104:3): Only supported summary statistics are allowed for plotting --
  Error: unused argument (`3` = NA)
  Backtrace:
       x
    1. +-testthat::expect_silent(...) test-plot-functions.R:104:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat:::.capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. \-cvCovEst:::cvMultiMelt(...)
   10.   \-base::lapply(...)
   11.     \-cvCovEst:::FUN(X[[i]], ...)
   12.       \-rlang::exec(est, !!!est_args)
  -- Error (test-plot-functions.R:226:3): Plot method throws other errors where appripriate --
  Error: unused argument (`3` = NA)
  Backtrace:
       x
    1. +-testthat::expect_message(...) test-plot-functions.R:226:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-cvCovEst:::plot.cvCovEst(...)
    7.   \-cvCovEst:::cvSummaryPlot(...)
    8.     \-cvCovEst:::cvEigenPlot(...)
    9.       \-base::lapply(...)
   10.         \-cvCovEst:::FUN(X[[i]], ...)
   11.           \-rlang::exec(estimator, !!!est_args)
  -- Error (test-plot-functions.R:236:1): (code run outside of `test_that()`) ----
  Error: unused argument (`3` = NA)
  Backtrace:
      x
   1. \-cvCovEst:::plot.cvCovEst(...) test-plot-functions.R:236:0
   2.   \-cvCovEst:::cvSummaryPlot(...)
   3.     \-cvCovEst:::cvEigenPlot(...)
   4.       \-base::lapply(...)
   5.         \-cvCovEst:::FUN(X[[i]], ...)
   6.           \-rlang::exec(estimator, !!!est_args)
  -- Failure (test-safeColScale.R:36:3): `safeColScale` ouputs a matrix object ---
  class(safeColScale(dat, center, scale)) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  -- Failure (test-safeColScale.R:37:3): `safeColScale` ouputs a matrix object ---
  class(safeColScale(as(dat, "dgCMatrix"), center, scale)) not equal to c("matrix", "array").
  Lengths differ: 1 is not 2
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 159 ]
  Error: Test failures
  Execution halted