CRAN Package Check Results for Package trouBBlme4SolveR

Last updated on 2025-02-21 02:52:28 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 7.23 205.29 212.52 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 6.55 147.26 153.81 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 248.49 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.2 325.66 ERROR
r-devel-macos-arm64 0.1.2 94.00 OK
r-devel-macos-x86_64 0.1.2 196.00 OK
r-devel-windows-x86_64 0.1.2 9.00 240.00 249.00 OK
r-patched-linux-x86_64 0.1.2 7.93 213.83 221.76 OK
r-release-linux-x86_64 0.1.2 7.47 210.08 217.55 OK
r-release-macos-arm64 0.1.2 107.00 OK
r-release-macos-x86_64 0.1.2 270.00 OK
r-release-windows-x86_64 0.1.2 9.00 241.00 250.00 OK
r-oldrel-macos-arm64 0.1.2 163.00 OK
r-oldrel-macos-x86_64 0.1.2 273.00 OK
r-oldrel-windows-x86_64 0.1.2 11.00 248.00 259.00 OK

Check Details

Version: 0.1.2
Check: examples
Result: ERROR Running examples in ‘trouBBlme4SolveR-Ex.R’ failed The error most likely occurred in: > ### Name: dwmw > ### Title: Solver for (generalized) linear MM warnings > ### Aliases: dwmw trouBBlme4SolveR > ### Keywords: models > > ### ** Examples > > > if(requireNamespace("nlme")){ + library(lme4) + data(Orthodont, package = "nlme") + Orthodont$nsex <- as.numeric(Orthodont$Sex == "Male") + Orthodont$nsexage <- with(Orthodont, nsex*age) + ## Without using dwmw, the next model is singular + fmo <- lmer(distance ~ age + (age|Subject) + (0+nsex|Subject) + + (0 + nsexage|Subject), data = Orthodont) + summary(fmo) + + ## Using dwmw, we remove the singularity of the model + fmo1 <- dwmw(lmer(distance ~ age + (age|Subject) + (0+nsex|Subject) + + (0 + nsexage|Subject), data = Orthodont)) + summary(fmo1) + + ## It also can be used on the output object + + fmo2 <- dwmw(fmo) + summary(fmo2) + } Loading required package: Matrix Warning in optwrap(optimizer, devfun, getStart(start, rho$pp), lower = rho$lower, : convergence code -2 from nloptwrap: NLOPT_INVALID_ARGS: Invalid arguments (e.g. lower bounds are bigger than upper bounds, an unknown algorithm was specified, etcetera). Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : unable to evaluate scaled gradient Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge: degenerate Hessian with 2 negative eigenvalues Error in dwmw(lmer(distance ~ age + (age | Subject) + (0 + nsex | Subject) + : Too many iterations!! to get the model distance ~ age + (age | Subject) + (0 + nsex | Subject) + (0 + nsexage | Subject) to converge. Check it!! Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘introduction.Rnw’ using Sweave Loading required package: Matrix Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 0.0971375 (tol = 0.002, component 1) Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model is nearly unidentifiable: very large eigenvalue - Rescale variables?;Model is nearly unidentifiable: large eigenvalue ratio - Rescale variables? Correlation matrix not shown by default, as p = 16 > 12. Use print(res$value, correlation=TRUE) or vcov(res$value) if you need it Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 0.132634 (tol = 0.002, component 1) boundary (singular) fit: see help('isSingular') Correlation matrix not shown by default, as p = 16 > 12. Use print(res$value, correlation=TRUE) or vcov(res$value) if you need it Numeric predictors rescaled!!! The default multilevel model is singular since the between-Day variance for the intercept and the between-SUR.ID variance for the intercepts are zero. Then, we consider the next model after removing these random effects. Correlation matrix not shown by default, as p = 16 > 12. Use print(res$value, correlation=TRUE) or vcov(res$value) if you need it Warning in optwrap(optimizer, devfun, getStart(start, rho$pp), lower = rho$lower, : convergence code -2 from nloptwrap: NLOPT_INVALID_ARGS: Invalid arguments (e.g. lower bounds are bigger than upper bounds, an unknown algorithm was specified, etcetera). Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : unable to evaluate scaled gradient Warning in checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge: degenerate Hessian with 2 negative eigenvalues Error: processing vignette 'introduction.Rnw' failed with diagnostics: chunk 2 Error in dwmw(fmo) : Too many iterations!! to get the model distance ~ age + (age | Subject) + (0 + nsex | Subject) + (0 + nsexage | Subject) to converge. Check it!! --- failed re-building ‘introduction.Rnw’ SUMMARY: processing the following file failed: ‘introduction.Rnw’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc