* using log directory 'd:/Rcompile/CRANpkg/local/2.9/party.Rcheck' * using R version 2.9.2 Patched (2009-09-02 r49531) * using session charset: ISO8859-1 * checking for file 'party/DESCRIPTION' ... OK * this is package 'party' version '0.9-9991' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'party' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R 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 name space can be loaded with stated dependencies ... OK * checking for unstated 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 files against version 2 parser ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking data for non-ASCII characters ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable compilation flags in Makevars ... OK * checking for portable use of $BLAS_LIBS ... OK * checking examples ... ERROR Running examples in 'party-Ex.R' failed. The error most likely occurred in: > ### * cforest > > flush(stderr()); flush(stdout()) > > ### Name: cforest > ### Title: Random Forest > ### Aliases: cforest proximity > ### Keywords: tree > > ### ** Examples > > > set.seed(290875) > > ### honest (i.e., out-of-bag) cross-classification of > ### true vs. predicted classes > table(mammoexp$ME, predict(cforest(ME ~ ., data = mammoexp, + control = cforest_classical(ntree = 50)), + OOB = TRUE)) Never Within a Year Over a Year Never 207 27 0 Within a Year 64 40 0 Over a Year 62 12 0 > > ### fit forest to censored response > if (require("ipred")) { + + data("GBSG2", package = "ipred") + bst <- cforest(Surv(time, cens) ~ ., data = GBSG2, + control = cforest_classical(ntree = 50)) + + ### estimate conditional Kaplan-Meier curves + treeresponse(bst, newdata = GBSG2[1:2,], OOB = TRUE) + + ### if you can't resist to look at individual trees ... + party:::prettytree(bst@ensemble[[1]], names(bst@data@get("input"))) + } Loading required package: ipred Loading required package: rpart Loading required package: mlbench Warning in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) : there is no package called 'mlbench' Error: package 'mlbench' could not be loaded Execution halted