Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(psycModel)
  > 
  > test_check("psycModel")
  
  Loading required namespace: gridExtra
  Loading required namespace: qqplotr
  Loading required namespace: see
  Could not compute standard errors from random effects for diagnostic plot.
  Homogeneity of variance could not be computed. Cannot extract residual variance from objects of class 'lme'.
  == Skipped tests ===============================================================
  * On CRAN (4)
  
  == Failed tests ================================================================
  -- Error (test-integrated-model-summary.R:35:3): test glm ----------------------
  Error: <text>:1:256: unexpected 'if'
  1: unction (formula, family = gaussian, data, weights, subset, na.action, start = NULL, etastart, mustart, offset, control = list(...), model = TRUE, method = "glm.fit", x = FALSE, y = TRUE, sing
                                                                                                                                                                                                                                                                     ^
  Backtrace:
       x
    1. +-testthat::expect_warning(...) test-integrated-model-summary.R:35:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat:::.capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-testthat::expect_warning(...)
    8. | \-testthat:::expect_condition_matching(...)
    9. |   \-testthat:::quasi_capture(...)
   10. |     +-testthat:::.capture(...)
   11. |     | \-base::withCallingHandlers(...)
   12. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   13. \-psycModel::integrated_model_summary(...)
   14.   \-psycModel::model_summary(...)
   15.     \-base::tryCatch(...)
   16.       \-base:::tryCatchList(expr, classes, parentenv, handlers)
   17.         \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18.           \-value[[3L]](cond)
  
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 13 ]
  Error: Test failures
  Execution halted