R Under development (unstable) (2024-08-16 r87026 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #' @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 0 | WARN 0 | SKIP 13 | PASS 185 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (10): '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-semiparametric.R:19: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' [ FAIL 0 | WARN 0 | SKIP 13 | PASS 185 ] > > proc.time() user system elapsed 22.10 0.96 23.03