* using log directory 'd:/Rcompile/CRANpkg/local/4.5/ipred.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'ipred/DESCRIPTION' ... OK * this is package 'ipred' version '0.9-15' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ipred' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.3.0' * checking installed package size ... 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [15s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [0s] OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] ERROR Running examples in 'ipred-Ex.R' failed The error most likely occurred in: > ### Name: errorest > ### Title: Estimators of Prediction Error > ### Aliases: errorest errorest.data.frame errorest.default > ### Keywords: misc > > ### ** Examples > > > # Classification > > data("iris") > library("MASS") > > # force predict to return class labels only > mypredict.lda <- function(object, newdata) + predict(object, newdata = newdata)$class > > # 10-fold cv of LDA for Iris data > errorest(Species ~ ., data=iris, model=lda, + estimator = "cv", predict= mypredict.lda) Call: errorest.data.frame(formula = Species ~ ., data = iris, model = lda, predict = mypredict.lda, estimator = "cv") 10-fold cross-validation estimator of misclassification error Misclassification error: 0.02 > > data("PimaIndiansDiabetes", package = "mlbench") Warning in data("PimaIndiansDiabetes", package = "mlbench") : data set 'PimaIndiansDiabetes' not found > ## Not run: > ##D # 632+ bootstrap of LDA for Diabetes data > ##D errorest(diabetes ~ ., data=PimaIndiansDiabetes, model=lda, > ##D estimator = "632plus", predict= mypredict.lda) > ## End(Not run) > > #cv of a fixed partition of the data > list.tindx <- list(1:100, 101:200, 201:300, 301:400, 401:500, + 501:600, 601:700, 701:768) > > errorest(diabetes ~ ., data=PimaIndiansDiabetes, model=lda, + estimator = "cv", predict = mypredict.lda, + est.para = control.errorest(list.tindx = list.tindx)) Error: object 'PimaIndiansDiabetes' not found Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [16s] OK Running 'ipred-bugs.R' [4s] Comparing 'ipred-bugs.Rout' to 'ipred-bugs.Rout.save' ... OK Running 'ipred-segfault.R' [9s] Running 'ipred-smalltest.R' [3s] Comparing 'ipred-smalltest.Rout' to 'ipred-smalltest.Rout.save' ... OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [29s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR