* using log directory 'd:/RCompile/CRANincoming/R-devel/performance.Rcheck' * using R Under development (unstable) (2025-11-30 r89082 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'performance/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'performance' version '0.15.3' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [13s] OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'performance' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [29s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking R/sysdata.rda ... OK * checking examples ... ERROR Running examples in 'performance-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: check_convergence > ### Title: Convergence test for mixed effects models > ### Aliases: check_convergence > > ### ** Examples > > ## Don't show: > if (require("lme4") && require("glmmTMB")) withAutoprint({ # examplesIf + ## End(Don't show) + data(cbpp, package = "lme4") + set.seed(1) + cbpp$x <- rnorm(nrow(cbpp)) + cbpp$x2 <- runif(nrow(cbpp)) + + model <- lme4::glmer( + cbind(incidence, size - incidence) ~ period + x + x2 + (1 + x | herd), + data = cbpp, + family = binomial() + ) + + check_convergence(model) + + ## Don't show: + }) # examplesIf Loading required package: lme4 Loading required package: Matrix Loading required package: glmmTMB > data(cbpp, package = "lme4") > set.seed(1) > cbpp$x <- rnorm(nrow(cbpp)) > cbpp$x2 <- runif(nrow(cbpp)) > model <- lme4::glmer(cbind(incidence, size - incidence) ~ period + x + + x2 + (1 + x | herd), data = cbpp, family = binomial()) boundary (singular) fit: see help('isSingular') > check_convergence(model) Error in h(simpleError(msg, call)) : error in evaluating the argument 'a' in selecting a method for function 'solve': object 'Hessian' not found Calls: withAutoprint ... eval -> eval -> -> .handleSimpleError -> h Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [27s] ERROR Running 'testthat.R' [27s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(performance) > > test_check("performance") Starting 2 test processes. > test-check_convergence.R: boundary (singular) fit: see help('isSingular') Saving _problems/test-check_convergence-14.R > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_collinearity.R: NOTE: 2 fixed-effect singletons were removed (2 observations). > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_itemscale.R: Some of the values are negative. Maybe affected items need to be > test-check_itemscale.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-check_overdispersion.R: Overdispersion detected. > test-check_overdispersion.R: Underdispersion detected. > test-check_outliers.R: No outliers were detected (p = 0.238). > test-glmmPQL.R: iteration 1 > test-item_discrimination.R: Some of the values are negative. Maybe affected items need to be > test-item_discrimination.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-item_discrimination.R: Some of the values are negative. Maybe affected items need to be > test-item_discrimination.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-item_discrimination.R: Some of the values are negative. Maybe affected items need to be > test-item_discrimination.R: reverse-coded, e.g. using `datawizard::reverse()`. > test-performance_aic.R: Model was not fitted with REML, however, `estimator = "REML"`. Set > test-performance_aic.R: `estimator = "ML"` to obtain identical results as from `AIC()`. [ FAIL 1 | WARN 0 | SKIP 40 | PASS 453 ] ══ Skipped tests (40) ══════════════════════════════════════════════════════════ • On CRAN (39): 'test-bootstrapped_icc_ci.R:2:3', 'test-bootstrapped_icc_ci.R:44:3', 'test-binned_residuals.R:163:3', 'test-binned_residuals.R:190:3', 'test-check_dag.R:1:1', 'test-check_distribution.R:1:1', 'test-check_itemscale.R:1:1', 'test-check_itemscale.R:100:1', 'test-check_model.R:1:1', 'test-check_collinearity.R:193:1', 'test-check_collinearity.R:226:1', 'test-check_predictions.R:2:1', 'test-check_residuals.R:2:3', 'test-check_singularity.R:2:3', 'test-check_singularity.R:30:3', 'test-check_zeroinflation.R:73:3', 'test-check_zeroinflation.R:112:3', 'test-check_outliers.R:115:3', 'test-check_outliers.R:339:3', 'test-helpers.R:1:1', 'test-icc.R:2:1', 'test-item_omega.R:1:1', 'test-item_omega.R:31:3', 'test-mclogit.R:56:1', 'test-compare_performance.R:1:1', 'test-model_performance.bayesian.R:1:1', 'test-model_performance.lavaan.R:1:1', 'test-model_performance.merMod.R:2:3', 'test-model_performance.merMod.R:37:3', 'test-model_performance.psych.R:1:1', 'test-model_performance.rma.R:36:1', 'test-nestedLogit.R:65:1', 'test-performance_reliability.R:23:3', 'test-pkg-ivreg.R:1:1', 'test-r2_nagelkerke.R:35:3', 'test-r2_nakagawa.R:20:1', 'test-r2_bayes.R:39:3', 'test-test_likelihoodratio.R:55:1', 'test-rmse.R:39:3' • getRversion() > "4.4.0" is TRUE (1): 'test-check_outliers.R:300:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-check_convergence.R:14:3'): check_convergence ────────────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'a' in selecting a method for function 'solve': object 'Hessian' not found Backtrace: ▆ 1. ├─testthat::expect_true(check_convergence(model)) at test-check_convergence.R:14:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─performance::check_convergence(model) 5. │ ├─insight::is_converged(x, tolerance = tolerance, ...) 6. │ └─insight:::is_converged.merMod(x, tolerance = tolerance, ...) 7. │ ├─base::with(x@optinfo$derivs, Matrix::solve(Hessian, gradient)) 8. │ ├─base::with.default(x@optinfo$derivs, Matrix::solve(Hessian, gradient)) 9. │ │ └─base::eval(substitute(expr), data, enclos = parent.frame()) 10. │ │ └─base::eval(substitute(expr), data, enclos = parent.frame()) 11. │ └─Matrix::solve(Hessian, gradient) 12. └─base::.handleSimpleError(...) 13. └─base (local) h(simpleError(msg, call)) [ FAIL 1 | WARN 0 | SKIP 40 | PASS 453 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [16s] OK * checking HTML version of manual ... [18s] OK * DONE Status: 2 ERRORs