• using R Under development (unstable) (2012-02-06 r58287)
  • using platform: i686-pc-linux-gnu (32-bit)
  • using session charset: UTF-8
  • checking for file ‘TWIX/DESCRIPTION’ ... OK
  • this is package ‘TWIX’ version ‘0.2.10’
  • 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 executable files ... 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 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 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'
    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.TWIX: warning in match.call(expand = FALSE): partial argument
    match of 'expand' to 'expand.dots'
    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'
  • 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 ... OK
  • checking examples ... 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