CRAN Package Check Results for Package elmNN

Last updated on 2018-04-25 01:46:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 0.76 18.31 19.07 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 0.85 14.13 14.98 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 22.34 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0 21.25 NOTE
r-devel-windows-ix86+x86_64 1.0 5.00 33.00 38.00 NOTE
r-patched-linux-x86_64 1.0 0.79 17.41 18.20 ERROR
r-patched-solaris-x86 1.0 35.50 NOTE
r-release-linux-x86_64 1.0 1.03 17.32 18.35 ERROR
r-release-windows-ix86+x86_64 1.0 5.00 33.00 38.00 NOTE
r-release-osx-x86_64 1.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0 3.00 28.00 31.00 NOTE
r-oldrel-osx-x86_64 1.0 NOTE

Check Details

Version: 1.0
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘MASS’ which was already attached by Depends.
     Please remove these calls from your code.
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
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     elmtrain.default elmtrain.formula
    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
Check: R code for possible problems
Result: NOTE
    elmtrain.default: no visible global function definition for ‘runif’
    elmtrain.formula: no visible global function definition for
     ‘model.frame’
    elmtrain.formula: no visible global function definition for
     ‘model.matrix’
    elmtrain.formula: no visible global function definition for
     ‘model.response’
    predict.elmNN: no visible global function definition for ‘fitted’
    predict.elmNN: no visible global function definition for ‘model.matrix’
    print.elmNN: no visible global function definition for ‘head’
    print.elmNN: no visible global function definition for ‘fitted’
    randomMatrix: no visible global function definition for ‘runif’
    Undefined global functions or variables:
     fitted head model.frame model.matrix model.response runif
    Consider adding
     importFrom("stats", "fitted", "model.frame", "model.matrix",
     "model.response", "runif")
     importFrom("utils", "head")
    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
Check: examples
Result: ERROR
    Running examples in ‘elmNN-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: elmNN-package
    > ### Title: Implementation of ELM ( Extreme Learning Machine ) algorithm for
    > ### neural networks
    > ### Aliases: elmNN-package elmNN
    > ### Keywords: models|regression|nonlinear
    >
    > ### ** Examples
    >
    > set.seed(1234)
    > Var1 <- runif(50, 0, 100)
    > sqrt.data <- data.frame(Var1, Sqrt=sqrt(Var1))
    > model <- elmtrain(Sqrt~Var1, data=sqrt.data, nhid=10, actfun="sig")
    Error in UseMethod("elmtrain") :
     no applicable method for 'elmtrain' applied to an object of class "formula"
    Calls: elmtrain
    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