Running 'testthat.R' [194s]
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")
  +   # }
  + 
  +   test_check("insight")
  + }
  Loading required package: testthat
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 3 | WARN 0 | SKIP 14 | PASS 2373 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  • isFALSE(run_stan) is TRUE (5)
  • works interactively (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-marginaleffects.R:16:5): marginaleffects ──────────────────────
  names(p1) (`actual`) not equal to names(p2) (`expected`).
  
      actual         | expected          
  [1] "predicted_lo" -                   
  [2] "predicted_hi" -                   
  [3] "Species"      | "Species"      [1]
  [4] "Petal.Length" | "Petal.Length" [2]
  [5] "eps"          -                   
  [6] "Estimate"     | "Estimate"     [3]
  ── Failure (test-marginaleffects.R:20:5): marginaleffects ──────────────────────
  insight::find_parameters(x)$marginaleffects (`actual`) not equal to "Species" (`expected`).
  
  `actual`:   "predicted_lo" "predicted_hi" "Species"
  `expected`:                               "Species"
  ── Error (test-model_info.R:22:3): (code run outside of `test_that()`) ─────────
  Error in `tweedie(var.power = 1, link.power = 1)`: unused arguments (var.power = 1, link.power = 1)
  Backtrace:
      ▆
   1. └─stats::glm(y ~ x, data = d, family = tweedie(var.power = 1, link.power = 1)) at test-model_info.R:22:2
  
  [ FAIL 3 | WARN 0 | SKIP 14 | PASS 2373 ]
  Error: Test failures
  Execution halted