CRAN Package Check Results for Package rda

Last updated on 2018-04-21 16:47:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2-2 1.46 55.19 56.65 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.2-2 1.39 38.66 40.05 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2-2 66.37 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2-2 59.92 NOTE
r-devel-windows-ix86+x86_64 1.0.2-2 3.00 86.00 89.00 NOTE
r-devel-osx-x86_64 1.0.2-2 NOTE
r-patched-linux-x86_64 1.0.2-2 1.20 52.80 54.00 ERROR
r-patched-solaris-x86 1.0.2-2 121.20 NOTE
r-release-linux-x86_64 1.0.2-2 0.91 49.28 50.19 NOTE
r-release-windows-ix86+x86_64 1.0.2-2 2.00 57.00 59.00 NOTE
r-release-osx-x86_64 1.0.2-2 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2-2 3.00 55.00 58.00 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-devel-osx-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

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