Package: galamm Check: tests New result: ERROR Running ‘testthat.R’ [37s/38s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > #' @srrstats {G5.2} All errors and warnings are tested. > #' @srrstats {G5.2a} Every message produced within R code by stop(), > #' warning(), or message(), is unique. > #' @srrstats {G5.2b} All stop(), warning(), and message() calls are tested, > #' as can be seen in the CodeCov report on GitHub. > #' @srrstats {G5.3} Tests have explicit expectations about return objects. > #' @srrstats {G5.4a} These are new methods, but they have been used in the > #' paper Sørensen, Fjell, and Walhovd (2023), in which extensive simulation > #' studies confirmed the correctness of the implementation. Furthermore, the > #' simulated datasets, which are documented in "R/data.R" and exported, have > #' known ground truth and we confirm in the vignettes that the obtained > #' estimates are close to the true values. > #' @srrstats {G5.4b} Wherever there is overlapping functionality, results from > #' galamm() have been confirmed to be identical to those of lme4::lmer() for > #' linear mixed models, to those of lme4::glmer() for generalized linear > #' mixed models with binomial or Poisson responses, to those of > #' nlme::lme() for linear mixed models with heteroscedastic residuals, and > #' to those of PLmixed::PLmixed() for linear mixed models with factor > #' structures and generalized linear mixed models with factor structures. > #' @srrstats {G5.5} Random seed is set when simulating data, but the > #' algorithms are determinstic, and hence don't depend on random numbers. > #' @srrstats {G5.6} Implemented in the tests, both through data simulated > #' for this package, and through simulated data from PLmixed and lme4. > #' @srrstats {G5.6a} Tolerance in testthat() set to relatively high values, > #' since the outcome is platform dependent. > #' > #' @noRd > NULL NULL > > library(testthat) > library(galamm) > > test_check("galamm") [ FAIL 1 | WARN 0 | SKIP 12 | PASS 185 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-galamm-glmm.R:25:3', 'test-galamm-heteroscedastic.R:8:3', 'test-galamm-latent-covariates-interaction.R:18:3', 'test-galamm-latent-covariates-interaction.R:69:3', 'test-galamm-lmm.R:94:3', 'test-galamm-lmm.R:173:3', 'test-galamm-mixed-resp.R:203:3', 'test-galamm-mixed-resp.R:216:3', 'test-galamm-setup.R:341:3' • Skipping extended tests (3): 'test-galamm-lmm.R:317:3', 'test-parameter-recovery.R:116:3', 'test-parameter-recovery.R:133:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-galamm-semiparametric.R:19:3'): galamm reproduces gamm4 ──────── Error in `if (!is.na(x$sp.criterion) && !is.null(x$method) && !(x$method %in% c("PQL", "lme.ML", "lme.REML"))) cat(x$method, " = ", formatC(x$sp.criterion, digits = 5), sep = "")`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─testthat::expect_snapshot(print(summary(mod$gam), digits = 2)) at test-galamm-semiparametric.R:19:3 2. └─rlang::cnd_signal(state$error) [ FAIL 1 | WARN 0 | SKIP 12 | PASS 185 ] Error: Test failures Execution halted Package: gamlss.spatial Check: whether package can be installed New result: WARNING Found the following significant warnings: Warning: replacing previous import ‘gamlss::lp’ by ‘mgcv::lp’ when loading ‘gamlss.spatial’ Package: semsfa Check: whether package can be installed New result: WARNING Found the following significant warnings: Warning: replacing previous import ‘mgcv::lp’ by ‘gamlss::lp’ when loading ‘semsfa’ Package: serosv Check: whether package can be installed New result: WARNING Found the following significant warnings: Warning: replacing previous import ‘locfit::lp’ by ‘mgcv::lp’ when loading ‘serosv’ Warning: replacing previous import ‘mgcv::lp’ by ‘locfit::lp’ when loading ‘serosv’ See ‘/home/hornik/tmp/CRAN_recheck/serosv.Rcheck/00install.out’ for details. Used C++ compiler: ‘g++-14 (Debian 14.2.0-19) 14.2.0’