CRAN Package Check Results for Package VetResearchLMM

Last updated on 2026-12-05 07:51:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 1.97 125.06 127.03 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.0 1.64 91.27 92.91 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 43.02 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.0 39.77 ERROR
r-devel-windows-x86_64 1.1.0 4.00 178.00 182.00 OK
r-patched-linux-x86_64 1.1.0 2.36 112.36 114.72 ERROR
r-release-linux-x86_64 1.1.0 1.91 148.03 149.94 OK
r-release-macos-arm64 1.1.0 1.00 55.00 56.00 OK
r-release-macos-x86_64 1.1.0 2.00 177.00 179.00 OK
r-release-windows-x86_64 1.1.0 4.00 168.00 172.00 OK
r-oldrel-macos-arm64 1.1.0 1.00 34.00 35.00 OK
r-oldrel-macos-x86_64 1.1.0 2.00 185.00 187.00 OK
r-oldrel-windows-x86_64 1.1.0 4.00 228.00 232.00 OK

Check Details

Version: 1.1.0
Check: examples
Result: ERROR Running examples in ‘VetResearchLMM-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Examp2.5.2.1 > ### Title: Examp2.5.2.1 from Duchateau, L. and Janssen, P. and Rowlands, G. > ### J. (1998)._Linear Mixed Models. An Introduction with applications in > ### Veterinary Research_. International Livestock Research Institute. > ### Aliases: Examp2.5.2.1 > ### Keywords: datasets > > ### ** Examples > > #------------------------------------------------------------- > ## Example 2.5.2.1 p-68 > #------------------------------------------------------------- > # PROC MIXED DATA=ex125; > # CLASS drug dose region; > # MODEL pcv=drug dose drug*dose / solution covb; > # RANDOM region drug*region; > # LSMEANS drug*dose; > # RUN; > > str(ex125) 'data.frame': 24 obs. of 4 variables: $ Region: int 1 1 1 1 2 2 2 2 3 3 ... $ Drug : Factor w/ 2 levels "BERENIL","samorin": 1 1 2 2 1 1 2 2 1 1 ... $ dose : Factor w/ 2 levels "h","l": 1 2 1 2 1 2 1 2 1 2 ... $ Pcv : num 22.6 21.8 19.1 16.4 29 28.8 25.3 18.2 24 23.7 ... > if (requireNamespace("lme4", quietly = TRUE) && + requireNamespace("lmerTest", quietly = TRUE)) { + fm2.10 <- + lmerTest::lmer( + formula = Pcv ~ dose * Drug + (1 | Region / Drug) + , data = ex125 + , REML = TRUE + , control = lme4::lmerControl() + , start = NULL + , verbose = 0L + , contrasts = list(dose = "contr.SAS", Drug = "contr.SAS") + , devFunOnly = FALSE + ) + if (requireNamespace("report", quietly = TRUE)) { + fm2.10 |> + report::report() + } + if (requireNamespace("emmeans", quietly = TRUE)) { + emm2.10 <- emmeans::emmeans(fm2.10, ~ dose | Drug, lmer.df = "asymptotic") + print(emm2.10) + print(emmeans::contrast(emm2.10, method = "pairwise")) + } + summary(fm2.10) + anova(fm2.10) + summary(fm2.10)$vcov + } Error in lmerTest::as_lmerModLmerTest(x) : Unable to extract deviance function from model fit Calls: <Anonymous> ... .degrees_of_freedom_satterthwaite.lmerMod -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.1.0
Check: examples
Result: ERROR Running examples in ‘VetResearchLMM-Ex.R’ failed The error most likely occurred in: > ### Name: Examp2.5.2.1 > ### Title: Examp2.5.2.1 from Duchateau, L. and Janssen, P. and Rowlands, G. > ### J. (1998)._Linear Mixed Models. An Introduction with applications in > ### Veterinary Research_. International Livestock Research Institute. > ### Aliases: Examp2.5.2.1 > ### Keywords: datasets > > ### ** Examples > > #------------------------------------------------------------- > ## Example 2.5.2.1 p-68 > #------------------------------------------------------------- > # PROC MIXED DATA=ex125; > # CLASS drug dose region; > # MODEL pcv=drug dose drug*dose / solution covb; > # RANDOM region drug*region; > # LSMEANS drug*dose; > # RUN; > > str(ex125) 'data.frame': 24 obs. of 4 variables: $ Region: int 1 1 1 1 2 2 2 2 3 3 ... $ Drug : Factor w/ 2 levels "BERENIL","samorin": 1 1 2 2 1 1 2 2 1 1 ... $ dose : Factor w/ 2 levels "h","l": 1 2 1 2 1 2 1 2 1 2 ... $ Pcv : num 22.6 21.8 19.1 16.4 29 28.8 25.3 18.2 24 23.7 ... > if (requireNamespace("lme4", quietly = TRUE) && + requireNamespace("lmerTest", quietly = TRUE)) { + fm2.10 <- + lmerTest::lmer( + formula = Pcv ~ dose * Drug + (1 | Region / Drug) + , data = ex125 + , REML = TRUE + , control = lme4::lmerControl() + , start = NULL + , verbose = 0L + , contrasts = list(dose = "contr.SAS", Drug = "contr.SAS") + , devFunOnly = FALSE + ) + if (requireNamespace("report", quietly = TRUE)) { + fm2.10 |> + report::report() + } + if (requireNamespace("emmeans", quietly = TRUE)) { + emm2.10 <- emmeans::emmeans(fm2.10, ~ dose | Drug, lmer.df = "asymptotic") + print(emm2.10) + print(emmeans::contrast(emm2.10, method = "pairwise")) + } + summary(fm2.10) + anova(fm2.10) + summary(fm2.10)$vcov + } Error in lmerTest::as_lmerModLmerTest(x) : Unable to extract deviance function from model fit Calls: <Anonymous> ... .degrees_of_freedom_satterthwaite.lmerMod -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc