- using R version 2.8.0 beta (2008-10-08 r46670)
- using session charset: ISO8859-1
- checking for file 'boost/DESCRIPTION' ... OK
- this is package 'boost' version '1.0-0'
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking whether package 'boost' 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 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 ... NOTE
adaboost: no visible binding for global variable 'method'
bagboost: no visible binding for global variable 'method'
l2boost: no visible binding for global variable 'method'
learner: no visible global function definition for 'rpart.control'
learner: no visible global function definition for 'rpart'
logitboost: no visible binding for global variable 'method'
- checking Rd files ... 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
- creating boost-Ex.R ... OK
- checking examples ... ERROR
Running examples in 'boost-Ex.R' failed.
The error most likely occurred in:
> ### * adaboost
>
> flush(stderr()); flush(stdout())
>
> ### Name: adaboost
> ### Title: adaboost
> ### Aliases: adaboost
> ### Keywords: classif
>
> ### ** Examples
>
> data(leukemia, package = "boost")
>
> ## Dividing the leukemia dataset into training and test data
> xlearn <- leukemia.x[c(1:20, 34:38),]
> ylearn <- leukemia.y[c(1:20, 34:38)]
> xtest <- leukemia.x[21:33,]
> ytest <- leukemia.y[21:33]
>
> ## Classification with adaboost
> fit <- adaboost(xlearn, ylearn, xtest, presel=50, mfinal=20)
Error in learner(ylearn, w, xlearn, xtest, method, args, bag = 1) :
could not find function "rpart.control"
Calls: adaboost -> learner
Execution halted