* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/glmertree.Rcheck’ * using R Under development (unstable) (2024-04-06 r86350) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7) GNU Fortran (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7) * running under: Fedora Linux 38 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘glmertree/DESCRIPTION’ ... OK * this is package ‘glmertree’ version ‘0.2-4’ * 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 ... OK * 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 ... 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 ... OK * checking loading without being on the library search path ... 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 ... [12s/12s] 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 ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘glmertree-Ex.R’ failed The error most likely occurred in: > ### Name: betamertree > ### Title: Beta Mixed-Effects Regression Trees > ### Aliases: betamertree print.betamertree ranef.betamertree > ### logLik.betamertree model.frame.betamertree predict.betamertree > ### terms.betamertree as.party.betamertree residuals.betamertree > ### resid.betamertree VarCorr.betamertree > ### Keywords: tree > > ### ** Examples > > ## No test: > if (require("betareg") && require("glmmTMB")) { + ## load example data + data("ReadingSkills", package = "betareg") + ## add random noise (not associated with reading scores) + set.seed(1071) + ReadingSkills$x1 <- rnorm(nrow(ReadingSkills)) + ReadingSkills$x2 <- runif(nrow(ReadingSkills)) + ReadingSkills$x3 <- factor(rnorm(nrow(ReadingSkills)) > 0) + ReadingSkills$gr <- factor(rep(letters[1:5], length.out = nrow(ReadingSkills))) + + ## Fit beta mixed-effects regression tree + betamer_form <- accuracy ~ iq | gr | dyslexia + x1 + x2 + x3 + bmertree <- betamertree(betamer_form, data = ReadingSkills, minsize = 10) + VarCorr(bmertree) + fixef(bmertree) + coef(bmertree) + plot(bmertree) + plot(bmertree, type = "simple") + predict(bmertree, newdata = ReadingSkills[1:5,]) + predict(bmertree) ## see ?predict.glmmmTMB for other arguments that can be passed + residuals(bmertree) ## see ?residuals.glmmmTMB for other arguments that can be passed + } Loading required package: betareg Loading required package: glmmTMB Error in is.finite(x) : default method not implemented for type 'list' Calls: plot ... extract_label -> formatinfo_node -> FUN -> paste -> formatC Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘test_glmertree.R’ Comparing ‘test_glmertree.Rout’ to ‘test_glmertree.Rout.save’ ... OK OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [15s/15s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/glmertree.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:27.28, 77.40 + 9.46