Running 'spelling.R'
  Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > if (require("testthat")) {
  +   library(insight)
  + 
  +   is_dev_version <- length(strsplit(packageDescription("insight")$Version, "\\.")[[1]]) > 3
  + 
  +   if (is_dev_version) {
  +     Sys.setenv("RunAllinsightTests" = "yes")
  +   } else {
  +     Sys.setenv("RunAllinsightTests" = "no")
  +   }
  +   si <- Sys.info()
  + 
  +   osx <- tryCatch(
  +     {
  +       if (!is.null(si["sysname"])) {
  +         si["sysname"] == "Darwin" || grepl("^darwin", R.version$os)
  +       } else {
  +         FALSE
  +       }
  +     },
  +     error = function(e) {
  +       FALSE
  +     }
  +   )
  + 
  +   solaris <- tryCatch(
  +     {
  +       if (!is.null(si["sysname"])) {
  +         grepl("SunOS", si["sysname"], ignore.case = TRUE)
  +       } else {
  +         FALSE
  +       }
  +     },
  +     error = function(e) {
  +       FALSE
  +     }
  +   )
  + 
  +   # disable / enable if needed
  +   if (.Platform$OS.type == "unix" && is_dev_version) {
  +     Sys.setenv("RunAllinsightStanTests" = "yes")
  +   } else {
  +     Sys.setenv("RunAllinsightStanTests" = "no")
  +   }
  + 
  +   if (!osx && !solaris) {
  +     test_check("insight")
  +   }
  + }
  Loading required package: testthat
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  • glmmTMB cannot be loaded (1)
  • isFALSE(run_stan) is TRUE (4)
  • lme4 cannot be loaded (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-clmm.R:183:7): get_variance ───────────────────────────────────
  get_variance(m1) (`actual`) not equal to list(...) (`expected`).
  
  `actual` is NULL
  `expected` is a list
  ── Failure (test-clmm.R:195:7): get_variance ───────────────────────────────────
  get_variance(m2) (`actual`) not equal to list(...) (`expected`).
  
  `actual` is NULL
  `expected` is a list
  
  [ FAIL 2 | WARN 31 | SKIP 9 | PASS 1510 ]
  Error: Test failures
  Execution halted