* using log directory ‘/data/gannet/ripley/R/packages/tests-devel/glmertree.Rcheck’ * using R Under development (unstable) (2025-02-28 r87843) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘glmertree/DESCRIPTION’ ... OK * this is package ‘glmertree’ version ‘0.2-6’ * package encoding: UTF-8 * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘glmertree’ can be installed ... [20s/52s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/glmertree-00install.html' for details. * checking package directory ... OK * checking ‘build’ directory ... 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 ... [4s/14s] 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 ... [4s/11s] 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 ... [31s/85s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [4s/10s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [5s/13s] ERROR Running ‘test_glmertree.R’ [4s/12s] Running the tests in ‘tests/test_glmertree.R’ failed. Complete output: > library("glmertree") Loading required package: lme4 Loading required package: Matrix Loading required package: partykit Loading required package: grid Loading required package: libcoin Loading required package: mvtnorm > options(width = 70, prompt = "R> ", continue = "+ ", digits = 4) R> R> data("DepressionDemo", package = "glmertree") R> summary(DepressionDemo) depression treatment cluster age Min. : 3.00 Treatment 1:78 1 :15 Min. :18 1st Qu.: 7.00 Treatment 2:72 2 :15 1st Qu.:39 Median : 9.00 3 :15 Median :45 Mean : 9.12 4 :15 Mean :45 3rd Qu.:11.00 5 :15 3rd Qu.:52 Max. :16.00 6 :15 Max. :69 (Other):60 anxiety duration depression_bin Min. : 3.0 Min. : 1.00 0:78 1st Qu.: 8.0 1st Qu.: 5.00 1:72 Median :10.0 Median : 7.00 Mean :10.3 Mean : 6.97 3rd Qu.:12.0 3rd Qu.: 9.00 Max. :18.0 Max. :17.00 R> R> lmm_tree <- lmertree(depression ~ treatment | cluster | age + duration + anxiety, + data = DepressionDemo) Error in if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { : missing value where TRUE/FALSE needed Calls: lmertree In addition: Warning messages: 1: 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). 2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 2.14658 (tol = 0.002, component 1) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [19s/50s] ERROR Error(s) in re-building vignettes: --- re-building ‘glmertree.Rnw’ using Sweave Loading required package: lme4 Loading required package: Matrix Loading required package: partykit Loading required package: grid Loading required package: libcoin Loading required package: mvtnorm 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, : Model failed to converge with max|grad| = 0.754457 (tol = 0.002, component 1) Error: processing vignette 'glmertree.Rnw' failed with diagnostics: chunk 6 Error in if (continue & (abs(newloglik - oldloglik[2]) < abstol)) { : missing value where TRUE/FALSE needed --- failed re-building ‘glmertree.Rnw’ SUMMARY: processing the following file failed: ‘glmertree.Rnw’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [8s/18s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs