CRAN Package Check Results for Package rda

Last updated on 2018-07-20 09:49:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2-2 1.44 46.41 47.85 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.2-2 1.26 40.33 41.59 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2-2 65.76 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2-2 65.24 NOTE
r-devel-windows-ix86+x86_64 1.0.2-2 5.00 60.00 65.00 NOTE
r-patched-linux-x86_64 1.0.2-2 1.67 54.83 56.50 ERROR
r-patched-solaris-x86 1.0.2-2 123.10 NOTE
r-release-linux-x86_64 1.0.2-2 1.46 53.71 55.17 ERROR
r-release-windows-ix86+x86_64 1.0.2-2 5.00 59.00 64.00 NOTE
r-release-osx-x86_64 1.0.2-2 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2-2 2.00 57.00 59.00 NOTE
r-oldrel-osx-x86_64 1.0.2-2 NOTE

Check Details

Version: 1.0.2-2
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.rdacv predict.rda
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 1.0.2-2
Check: R code for possible problems
Result: NOTE
    Drda1: no visible global function definition for ‘model.matrix’
    permute.rows: no visible global function definition for ‘runif’
    plot.rdacv: no visible global function definition for ‘par’
    rda.plotmat: no visible global function definition for ‘par’
    rda.plotmat: no visible global function definition for ‘plot’
    rda.plotmat: no visible global function definition for ‘layout’
    rda.plotmat: no visible global function definition for ‘image’
    rda.plotmat: no visible global function definition for ‘terrain.colors’
    rda.plotmat: no visible global function definition for ‘axis’
    rda.plotmat: no visible global function definition for ‘points’
    rda.plotmat: no visible global function definition for ‘legend’
    rda1: no visible global function definition for ‘model.matrix’
    Undefined global functions or variables:
     axis image layout legend model.matrix par plot points runif
     terrain.colors
    Consider adding
     importFrom("grDevices", "terrain.colors")
     importFrom("graphics", "axis", "image", "layout", "legend", "par",
     "plot", "points")
     importFrom("stats", "model.matrix", "runif")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.0.2-2
Check: examples
Result: ERROR
    Running examples in ‘rda-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: predict.rda
    > ### Title: RDA Prediction Function
    > ### Aliases: predict.rda
    >
    > ### ** Examples
    >
    > data(colon)
    > colon.x <- t(colon.x)
    >
    > ## divide the data set into a training set and a test
    > ## set using a ratio of 2:1.
    > tr.index <- sample(1:62, 40)
    > fit <- rda(colon.x[, tr.index], colon.y[tr.index])
    >
    > ## predict the class labels of the test set at alpha=0.1
    > ## and delta=0.5
    > ynew <- predict(fit, x=colon.x[, tr.index], y=colon.y[tr.index],
    + xnew=colon.x[, -tr.index], alpha=0.1, delta=0.5)
    Error in UseMethod("predict") :
     no applicable method for 'predict' applied to an object of class "rda"
    Calls: predict
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64