Running ‘testthat.R’ [12s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (require("testthat")) {
  +   library(ggeffects)
  + 
  +   if (length(strsplit(packageDescription("ggeffects")$Version, "\\.")[[1]]) > 3) {
  +     Sys.setenv("RunAllggeffectsTests" = "yes")
  +   } else {
  +     Sys.setenv("RunAllggeffectsTests" = "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
  +     }
  +   )
  + 
  +   if (!osx && !solaris) {
  +     test_check("ggeffects")
  +   }
  + }
  Loading required package: testthat
  Loading required package: gam
  Loading required package: emmeans
  Loading required package: effects
  Loading required package: lme4
  Loading required package: lme4
  Loading required package: lme4
  Loading required package: lme4
  Loading required package: survival
  Loading required package: gee
  (Intercept)    tensionM    tensionH 
     36.38889   -10.00000   -14.72222 
  Loading required package: geepack
  Loading required package: haven
  Loading required package: lme4
  Loading required package: sjmisc
  Loading required package: robustbase
  
  Attaching package: 'robustbase'
  
  The following object is masked from 'package:survival':
  
      heart
  
  Data were 'prettified'. Consider using `terms="c12hour [all]"` to get smooth plots.
  Data were 'prettified'. Consider using `terms="c12hour [all]"` to get smooth plots.
  Can't compute estimated marginal means, 'emmeans::emmeans()' returned an error.
  
  Reason: Can't handle an object of class  "glmrob" 
   Use help("models", package = "emmeans") for information on supported models.
  You may try 'ggpredict()' or 'ggeffect()'.
  
  Loading required package: effects
  Loading required package: sjlabelled
  Loading required package: effects
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Can't compute estimated marginal means, 'emmeans::emmeans()' returned an error.
  
  Reason: Can't handle an object of class  "lmrob" 
   Use help("models", package = "emmeans") for information on supported models.
  You may try 'ggpredict()' or 'ggeffect()'.
  
  Loading required package: logistf
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Can't compute estimated marginal means, 'emmeans::emmeans()' returned an error.
  
  Reason: Can't handle an object of class  "logistf" 
   Use help("models", package = "emmeans") for information on supported models.
  You may try 'ggpredict()' or 'ggeffect()'.
  
  Loading required package: rms
  Loading required package: MASS
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Loading required package: nlme
  Loading required package: lme4
  Loading required package: pscl
  Classes and Methods for R developed in the
  Political Science Computational Laboratory
  Department of Political Science
  Stanford University
  Simon Jackman
  hurdle and zeroinfl functions by Achim Zeileis
  Loading required package: rms
  Loading required namespace: ggplot2
  Loading required package: haven
  Loading required package: effects
  Loading required package: glmmTMB
  Loading required package: quantreg
  Loading required package: survey
  Package `effects` is not available, but needed for `ggeffect()`. Either install package `effects`, or use `ggpredict()`. Calling `ggpredict()` now.FALSE
  Loading required package: survey
  Loading required package: AER
  Loading required package: VGAM
  Loading required package: stats4
  Loading required package: splines
  Loading required package: glmmTMB
  [ FAIL 2 | WARN 3 | SKIP 1 | PASS 54 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-logistf.R:16:5): ggeffect, logistf ────────────────────────────
  pr$predicted[1] (`actual`) not equal to 0.5762638 (`expected`).
  
    `actual`: 0.5764
  `expected`: 0.5763
  ── Failure (test-survreg.R:17:5): ggeffect, survreg ────────────────────────────
  ggeffect(m1, "ecog.ps") is not NULL
  
  `actual` is an S3 object of class <ggeffects/data.frame>, a list
  `expected` is NULL
  
  [ FAIL 2 | WARN 3 | SKIP 1 | PASS 54 ]
  Error: Test failures
  Execution halted