- using R version 2.10.0 Under development (unstable) (2009-07-04 r48899)
- using session charset: ASCII
- checking for file 'caret/DESCRIPTION' ... OK
- this is package 'caret' version '4.19'
- checking package name space information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'caret' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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 ... NOTE
createModel: no visible global function definition for
'randomForestNWS'
createModel: no visible global function definition for 'rfLSF'
createModel: no visible global function definition for '.jcache'
plot.rfe: no visible binding for global variable 'Selected'
predictionFunction: possible error in attributes(modelFit, "model"):
unused argument(s) ("model")
predictors.gbm: no visible binding for global variable 'rel.inf'
predictors.sda: no visible binding for global variable 'varIndex'
predictors.smda: no visible binding for global variable 'varIndex'
tuneScheme: no visible binding for global variable '.alpha'
tuneScheme: no visible binding for global variable '.phi'
tuneScheme: no visible binding for global variable '.lambda'
- 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 use of $BLAS_LIBS ... OK
- checking examples ... ERROR
Running examples in 'caret-Ex.R' failed.
The error most likely occurred in:
> ### * maxDissim
>
> flush(stderr()); flush(stdout())
>
> ### Name: maxDissim
> ### Title: Maximum Dissimilarity Sampling
> ### Aliases: maxDissim minDiss sumDiss
> ### Keywords: utilities
>
> ### ** Examples
>
>
> example <- function(pct = 1, obj = minDiss, ...)
+ {
+ tmp <- matrix(rnorm(200 * 2), nrow = 200)
+
+ ## start with 15 data points
+ start <- sample(1:dim(tmp)[1], 15)
+ base <- tmp[start,]
+ pool <- tmp[-start,]
+
+ ## select 9 for addition
+ newSamp <- maxDissim(
+ base, pool,
+ n = 9,
+ randomFrac = pct, obj = obj, ...)
+
+ allSamp <- c(start, newSamp)
+
+ plot(
+ tmp[-newSamp,],
+ xlim = extendrange(tmp[,1]), ylim = extendrange(tmp[,2]),
+ col = "darkgrey",
+ xlab = "variable 1", ylab = "variable 2")
+ points(base, pch = 16, cex = .7)
+
+ for(i in seq(along = newSamp))
+ points(
+ pool[newSamp[i],1],
+ pool[newSamp[i],2],
+ pch = paste(i), col = "darkred")
+ }
>
> par(mfrow=c(2,2))
>
> set.seed(414)
> example(1, minDiss)
Error in library(proxy) : there is no package called 'proxy'
Calls: example -> maxDissim -> library
Execution halted
- elapsed time (check, wall clock): 2:07