* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/agghoo.Rcheck’ * using R Under development (unstable) (2026-08-24 r90445) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-08-24 19:53:08 UTC * checking for file ‘agghoo/DESCRIPTION’ ... OK * this is package ‘agghoo’ version ‘0.1-0’ * 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 ‘agghoo’ can be installed ... OK * checking package 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 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 ... 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 examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘agghoo-Ex.R’ failed The error most likely occurred in: > ### Name: agghoo > ### Title: agghoo > ### Aliases: agghoo > > ### ** Examples > > # Basic usage: > > # Regression: > a_reg <- agghoo(iris[,-c(2,5)], iris[,2]) > a_reg$fit() > pr <- a_reg$predict(iris[,-c(2,5)] + rnorm(450, sd=0.1)) > # Classification > a_cla <- agghoo(iris[,-5], iris[,5]) > a_cla$fit() Loading required package: class > pc <- a_cla$predict(iris[,-5] + rnorm(600, sd=0.1)) > > ## No test: > # Advanced usage: > data(iris) > library(mlbench) > data(PimaIndiansDiabetes) Warning in data(PimaIndiansDiabetes) : data set ‘PimaIndiansDiabetes’ not found > > # Run only agghoo on iris dataset (split into train/test, etc). > # Default parameters: see ?agghoo and ?AgghooCV > compareTo(iris[,-5], iris[,5], agghoo_run) Parameters: 14 3 20 14 11 11 5 9 11 3 error agghoo: 0 > > # Run both agghoo and standard CV, specifiying some parameters. > compareTo(iris[,-5], iris[,5], list(agghoo_run, standardCV_run), gmodel="tree") Loading required package: rpart Parameters: 0.02 0.01333333 0.01333333 0.02 0.02 0 0.01333333 0.02 0.02 0.02 error agghoo: 0.0666666666666667 Parameter: 0.0133333333333333 error CV: 0.0666666666666667 > compareTo(iris[,-5], iris[,5], list(agghoo_run, standardCV_run), + gmodel="knn", params=c(3, 7, 13, 17, 23, 31), + CV = list(type="vfold", V=5, shuffle=TRUE)) Parameters: 13 7 7 13 7 error agghoo: 0.0333333333333333 Parameter: 3 error CV: 0.0333333333333333 > > # Run both agghoo and standard CV, averaging errors over N=10 runs > # (possible for a single method but wouldn't make much sense...). > nc <- 1 #for CRAN > compareMulti(PimaIndiansDiabetes[,-9], PimaIndiansDiabetes[,9], + list(agghoo_run, standardCV_run), N=10, gmodel="tree", nc=nc) 1 Error: object 'PimaIndiansDiabetes' not found Execution halted * checking PDF version of manual ... 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 * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-donttest/agghoo.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:22.80, 29.33 + 18.44