CRAN Package Check Results for Package upclass

Last updated on 2018-04-22 23:50:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0 1.42 23.88 25.30 ERROR
r-devel-linux-x86_64-debian-gcc 2.0 0.95 21.35 22.30 ERROR
r-devel-linux-x86_64-fedora-clang 2.0 36.96 NOTE
r-devel-linux-x86_64-fedora-gcc 2.0 36.21 NOTE
r-devel-windows-ix86+x86_64 2.0 5.00 46.00 51.00 NOTE
r-devel-osx-x86_64 2.0 NOTE
r-patched-linux-x86_64 2.0 1.54 26.26 27.80 ERROR
r-patched-solaris-x86 2.0 51.50 NOTE
r-release-linux-x86_64 2.0 0.69 28.49 29.18 NOTE
r-release-windows-ix86+x86_64 2.0 3.00 61.00 64.00 NOTE
r-release-osx-x86_64 2.0 NOTE
r-oldrel-windows-ix86+x86_64 2.0 5.00 44.00 49.00 NOTE

Check Details

Version: 2.0
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.upclassfit print.upclassfit summary.upclassfit
    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: 2.0
Check: R code for possible problems
Result: NOTE
    plot.upclassfit: no visible global function definition for ‘frame’
    plot.upclassfit: no visible global function definition for ‘par’
    plot.upclassfit: no visible global function definition for ‘axis’
    plot.upclassfit: no visible global function definition for ‘matplot’
    plot.upclassfit: no visible global function definition for ‘legend’
    plot.upclassfit: no visible global function definition for ‘title’
    Undefined global functions or variables:
     axis frame legend matplot par title
    Consider adding
     importFrom("graphics", "axis", "frame", "legend", "matplot", "par",
     "title")
    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: 2.0
Check: examples
Result: ERROR
    Running examples in ‘upclass-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot.upclassfit
    > ### Title: Plot for upclassfit
    > ### Aliases: plot.upclassfit plot
    > ### Keywords: Classification
    >
    > ### ** Examples
    >
    > data(wine, package = "gclus")
    > X <- as.matrix(wine[, -1])
    > cl <- unclass(wine[, 1])
    > indtrain <- sort(sample(1:178, 120))
    > indtest <- setdiff(1:178, indtrain)
    >
    > fitup <- upclassify(X[indtrain,], cl[indtrain], X[indtest,], cl[indtest])
    > plot(fitup)
    Error in xy.coords(x, y, xlabel, ylabel, log) :
     'x' is a list, but does not have components 'x' and 'y'
    Calls: plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64