CRAN Package Check Results for Package IBHM

Last updated on 2018-04-27 04:50:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-11 16.93 33.19 50.12 ERROR
r-devel-linux-x86_64-debian-gcc 1.1-11 13.80 28.51 42.31 ERROR
r-devel-linux-x86_64-fedora-clang 1.1-11 172.00 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1-11 175.35 NOTE
r-devel-windows-ix86+x86_64 1.1-11 56.00 348.00 404.00 NOTE
r-patched-linux-x86_64 1.1-11 18.17 35.72 53.89 ERROR
r-patched-solaris-x86 1.1-11 228.40 NOTE
r-release-linux-x86_64 1.1-11 18.60 35.76 54.36 ERROR
r-release-windows-ix86+x86_64 1.1-11 56.00 348.00 404.00 NOTE
r-release-osx-x86_64 1.1-11 NOTE
r-oldrel-windows-ix86+x86_64 1.1-11 42.00 284.00 326.00 NOTE
r-oldrel-osx-x86_64 1.1-11 NOTE

Check Details

Version: 1.1-11
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘compiler’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
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.1-11
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     length.IBHM predict.IBHM print.summary.IBHM summary.IBHM
    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.1-11
Check: R code for possible problems
Result: NOTE
    ConfigureIBHM : <anonymous>: no visible global function definition for
     ‘dnorm’
    FindActiv: no visible global function definition for ‘sd’
    OptimizeActivCMAES: no visible global function definition for ‘runif’
    OptimizeActivNM: no visible global function definition for ‘optim’
    OptimizeActivNM: no visible global function definition for ‘runif’
    OptimizeAllParams : goal: no visible global function definition for
     ‘relist’
    OptimizeAllParams: no visible global function definition for ‘optim’
    OptimizeAllParams: no visible global function definition for ‘relist’
    OptimizeAllWeights: no visible global function definition for ‘optim’
    OptimizeScalCMAES: no visible global function definition for ‘runif’
    OptimizeScalNM: no visible global function definition for ‘optim’
    OptimizeScalNM: no visible global function definition for ‘runif’
    OptimizeWeights: no visible global function definition for ‘optim’
    TrainIBHM: no visible global function definition for ‘enableJIT’
    ValidationSC : <anonymous>: no visible global function definition for
     ‘predict’
    group.by.samplesPerDim: no visible global function definition for ‘sd’
    summary.IBHM: no visible global function definition for ‘predict’
    summary.IBHM: no visible global function definition for ‘sd’
    summary.IBHM: no visible global function definition for ‘cor’
    Undefined global functions or variables:
     cor dnorm enableJIT optim predict relist runif sd
    Consider adding
     importFrom("stats", "cor", "dnorm", "optim", "predict", "runif", "sd")
     importFrom("utils", "relist")
    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.1-11
Check: compiled code
Result: NOTE
    File ‘IBHM/libs/IBHM.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ 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-release-linux-x86_64

Version: 1.1-11
Check: examples
Result: ERROR
    Running examples in ‘IBHM-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: ConfigureIBHM
    > ### Title: ConfigureIBHM
    > ### Aliases: ConfigureIBHM
    > ### Keywords: ~models ~regression ~nonlinear
    >
    > ### ** Examples
    >
    > x <- seq(-3,3,length.out=400)
    > y <- tanh(x)
    >
    > x.val <- runif(50,min=-6,max=6)
    > y.val <- tanh(x.val)
    >
    > m <- TrainIBHM(x,y, ConfigureIBHM( scal.candidates = 'dot.pr',
    + activ.candidates = 'tanh',
    + stop.criterion = ValidationSC(x.val, y.val)))
    >
    > summary(m)
     Length Class Mode
    params 5 -none- list
    scals 2 -none- list
    activs 2 -none- list
    train 2 -none- list
    par 5 -none- list
    > plot(y.val,predict(m,x.val),asp=1)
    Error in UseMethod("predict") :
     no applicable method for 'predict' applied to an object of class "IBHM"
    Calls: plot -> plot.default -> xy.coords -> 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

Version: 1.1-11
Check: tests
Result: ERROR
     Running ‘ibhm.tests.R’ [3s/3s]
    Running the tests in ‘tests/ibhm.tests.R’ failed.
    Complete output:
     > library(IBHM)
     Loading required package: compiler
     Loading required package: DEoptim
     Loading required package: parallel
    
     DEoptim package
     Differential Evolution algorithm in R
     Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich
    
     Loading required package: cmaes
     Loading required package: Rcpp
     > source('utils.R')
     >
     >
     > (test.Tanh <- function(){
     + x <- seq(-6,6,length.out=400)
     + y <- tanh(x)
     +
     + set.seed(123)
     + m <- TrainIBHM(x,y, ConfigureIBHM(scal.candidates='dot.pr', activ.candidates='tanh'))
     + stopifnot(summary(m)$rmse<0.1)
     + cat('tanh - ok\n')
     + })()
     Error in summary(m)$rmse < 0.1 : $ operator is invalid for atomic vectors
     Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1-11
Check: tests
Result: ERROR
     Running ‘ibhm.tests.R’ [3s/5s]
    Running the tests in ‘tests/ibhm.tests.R’ failed.
    Complete output:
     > library(IBHM)
     Loading required package: compiler
     Loading required package: DEoptim
     Loading required package: parallel
    
     DEoptim package
     Differential Evolution algorithm in R
     Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich
    
     Loading required package: cmaes
     Loading required package: Rcpp
     > source('utils.R')
     >
     >
     > (test.Tanh <- function(){
     + x <- seq(-6,6,length.out=400)
     + y <- tanh(x)
     +
     + set.seed(123)
     + m <- TrainIBHM(x,y, ConfigureIBHM(scal.candidates='dot.pr', activ.candidates='tanh'))
     + stopifnot(summary(m)$rmse<0.1)
     + cat('tanh - ok\n')
     + })()
     Error in summary(m)$rmse < 0.1 : $ operator is invalid for atomic vectors
     Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1-11
Check: tests
Result: ERROR
     Running ‘ibhm.tests.R’ [4s/4s]
    Running the tests in ‘tests/ibhm.tests.R’ failed.
    Complete output:
     > library(IBHM)
     Loading required package: compiler
     Loading required package: DEoptim
     Loading required package: parallel
    
     DEoptim package
     Differential Evolution algorithm in R
     Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich
    
     Loading required package: cmaes
     Loading required package: Rcpp
     > source('utils.R')
     >
     >
     > (test.Tanh <- function(){
     + x <- seq(-6,6,length.out=400)
     + y <- tanh(x)
     +
     + set.seed(123)
     + m <- TrainIBHM(x,y, ConfigureIBHM(scal.candidates='dot.pr', activ.candidates='tanh'))
     + stopifnot(summary(m)$rmse<0.1)
     + cat('tanh - ok\n')
     + })()
     Error in summary(m)$rmse < 0.1 : $ operator is invalid for atomic vectors
     Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
     Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64