- using R Under development (unstable) (2012-02-27 r58511)
- using platform: x86_64-pc-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'TWIX/DESCRIPTION' ... OK
- this is package 'TWIX' version '0.2.10'
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: 'multicore'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking whether package 'TWIX' can be installed ... OK
- checking installed package size ... 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
- loading checks for arch 'i386'
** 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
- loading checks for arch 'x64'
** 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 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
TWIX: warning in match.call(expand = FALSE): partial argument match of
'expand' to 'expand.dots'
TWIX : sp: no visible global function definition for 'mclapply'
bootTWIX: warning in match.call(expand = FALSE): partial argument match
of 'expand' to 'expand.dots'
scree.plot: warning in match.call(expand = FALSE): partial argument
match of 'expand' to 'expand.dots'
trace.plot: warning in matrix(c(2, 1), nc = 2): partial argument match
of 'nc' to 'ncol'
trace.plot: warning in matrix(c(1, 1), nc = 1): partial argument match
of 'nc' to 'ncol'
tune.RF: warning in match.call(expand = FALSE): partial argument match
of 'expand' to 'expand.dots'
tune.RF: no visible global function definition for 'mclapply'
tune.TWIX: warning in match.call(expand = FALSE): partial argument
match of 'expand' to 'expand.dots'
tune.TWIX: no visible global function definition for 'mclapply'
tune.rpart: warning in match.call(expand = FALSE): partial argument
match of 'expand' to 'expand.dots'
tune.rpart : clus.tune.minbuck: warning in rpart.control(maxdepth =
maxdepth, minsplit = z, minbuck = z, cp = cp, xval = 0): partial
argument match of 'minbuck' to 'minbucket'
tune.rpart : clus.tune.runs: warning in rpart.control(maxdepth =
maxdepth, minsplit = minbuck[i], minbuck = minbuck[i], cp = cp, xval
= 0): partial argument match of 'minbuck' to 'minbucket'
tune.rpart: warning in rpart.control(maxdepth = maxdepth, minsplit =
minbuck[i], minbuck = minbuck[i], cp = cp, xval = 0): partial
argument match of 'minbuck' to 'minbucket'
tune.rpart: no visible global function definition for 'mclapply'
Found .Internal calls in the following functions:
'TWIX' 'fullrks' 'my.lapply' 'my.sort' 'sp.bagg' 'splitt'
'splitt_dev'
with calls to .Internal functions
'inherits' 'lapply' 'qsort'
Packages should not call .Internal(): it is not part of the API, for
use only by R itself and subject to change without notice.
- checking Rd files ... 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 ... WARNING
'library' or 'require' call not declared from: 'MASS'
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking compiled code ... NOTE
File 'd:/Rcompile/CRANpkg/lib/2.15/TWIX/libs/i386/TWIX.dll':
Found 'abort', possibly from 'abort' (C)
File 'd:/Rcompile/CRANpkg/lib/2.15/TWIX/libs/x64/TWIX.dll':
Found 'abort', possibly from 'abort' (C)
Compiled code should not call functions which might terminate R nor
write to stdout/stderr instead of to the console. The detected symbols
are linked into the code but might come from libraries and not actually
be called.
See 'Writing portable packages' in the 'Writing R Extensions' manual.
- checking examples ...
** running examples for arch 'i386' ... ERROR
Running examples in 'TWIX-Ex.R' failed
The error most likely occurred in:
> ### Name: bootTWIX
> ### Title: Bootstrap of the TWIX trees
> ### Aliases: bootTWIX
> ### Keywords: tree classif
>
> ### ** Examples
>
> library(ElemStatLearn)
> data(SAheart)
>
> ### response variable must be a factor
> SAheart$chd <- factor(SAheart$chd)
>
>
> ### test and train data
> ###
> set.seed(1234)
> icv <- sample(nrow(SAheart),nrow(SAheart)*0.3)
> itr <- setdiff(1:nrow(SAheart),icv)
> train <- SAheart[itr,]
> test <- SAheart[icv,]
>
>
> ### Bagging with greedy decision trees as base classifier
> M1 <- bootTWIX(chd~.,data=train,nbagg=50)
>
>
>
> ### Bagging with the p-value adjusted classification trees (alpha is 0.01)
> ### as base classifier
> M2 <- bootTWIX(chd~.,data=train,nbagg=50,splitf="p-adj",Devmin=0.01)
>
>
> library(MASS)
Error in library(MASS) : there is no package called 'MASS'
Execution halted
** running examples for arch 'x64' ... ERROR
Running examples in 'TWIX-Ex.R' failed
The error most likely occurred in:
> ### Name: bootTWIX
> ### Title: Bootstrap of the TWIX trees
> ### Aliases: bootTWIX
> ### Keywords: tree classif
>
> ### ** Examples
>
> library(ElemStatLearn)
> data(SAheart)
>
> ### response variable must be a factor
> SAheart$chd <- factor(SAheart$chd)
>
>
> ### test and train data
> ###
> set.seed(1234)
> icv <- sample(nrow(SAheart),nrow(SAheart)*0.3)
> itr <- setdiff(1:nrow(SAheart),icv)
> train <- SAheart[itr,]
> test <- SAheart[icv,]
>
>
> ### Bagging with greedy decision trees as base classifier
> M1 <- bootTWIX(chd~.,data=train,nbagg=50)
>
>
>
> ### Bagging with the p-value adjusted classification trees (alpha is 0.01)
> ### as base classifier
> M2 <- bootTWIX(chd~.,data=train,nbagg=50,splitf="p-adj",Devmin=0.01)
>
>
> library(MASS)
Error in library(MASS) : there is no package called 'MASS'
Execution halted