CRAN Package Check Results for Package camel

Last updated on 2018-04-20 08:49:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 9.41 56.32 65.73 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 7.89 51.17 59.06 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 111.65 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.0 110.66 WARN
r-devel-windows-ix86+x86_64 0.2.0 29.00 177.00 206.00 WARN
r-devel-osx-x86_64 0.2.0 NOTE
r-patched-linux-x86_64 0.2.0 8.89 62.97 71.86 ERROR
r-patched-solaris-x86 0.2.0 182.20 NOTE
r-release-linux-x86_64 0.2.0 8.21 83.43 91.64 NOTE
r-release-windows-ix86+x86_64 0.2.0 35.00 135.00 170.00 NOTE
r-release-osx-x86_64 0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 27.00 161.00 188.00 NOTE

Check Details

Version: 0.2.0
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.slim
    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: 0.2.0
Check: R code for possible problems
Result: NOTE
    camel.plot: no visible global function definition for ‘postscript’
    camel.plot: no visible global function definition for ‘par’
    camel.plot: no visible global function definition for ‘plot’
    camel.plot: no visible global function definition for ‘dev.off’
    camel.slim: no visible global function definition for ‘cor’
    camel.tiger: no visible global function definition for ‘cor’
    camel.tiger: no visible global function definition for ‘cov’
    camel.tiger: no visible global function definition for ‘new’
    camel.tiger.cv: no visible global function definition for ‘cov’
    camel.tiger.cv: no visible binding for global variable ‘sd’
    camel.tiger.generator: no visible global function definition for
     ‘runif’
    camel.tiger.generator: no visible global function definition for ‘cor’
    camel.tiger.generator: no visible global function definition for ‘par’
    camel.tiger.generator: no visible global function definition for
     ‘gray.colors’
    camel.tiger.generator: no visible global function definition for ‘plot’
    camel.tiger.roc: no visible global function definition for ‘par’
    camel.tiger.roc: no visible global function definition for ‘plot’
    camel.tiger.select: no visible global function definition for
     ‘flush.console’
    plot.roc: no visible global function definition for ‘par’
    plot.roc: no visible global function definition for ‘plot’
    plot.select: no visible global function definition for ‘par’
    plot.select: no visible global function definition for ‘plot’
    plot.select: no visible global function definition for ‘lines’
    plot.sim: no visible global function definition for ‘gray.colors’
    plot.sim: no visible global function definition for ‘plot’
    plot.slim: no visible global function definition for ‘matplot’
    plot.tiger: no visible global function definition for ‘par’
    plot.tiger: no visible global function definition for ‘plot’
    plot.tiger: no visible global function definition for ‘lines’
    Undefined global functions or variables:
     cor cov dev.off flush.console gray.colors lines matplot new par plot
     postscript runif sd
    Consider adding
     importFrom("grDevices", "dev.off", "gray.colors", "postscript")
     importFrom("graphics", "lines", "matplot", "par", "plot")
     importFrom("methods", "new")
     importFrom("stats", "cor", "cov", "runif", "sd")
     importFrom("utils", "flush.console")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
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: 0.2.0
Check: compiled code
Result: NOTE
    File ‘camel/libs/camel.so’:
     Found ‘rand’, possibly from ‘rand’ (C)
     Object: ‘SFGen.o’
     Found ‘srand’, possibly from ‘srand’ (C)
     Object: ‘SFGen.o’
    File ‘camel/libs/camel.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    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: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘camel-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: camel.slim
    > ### Title: Calibrated Linear Regression
    > ### Aliases: camel.slim
    >
    > ### ** Examples
    >
    > ## Generate the design matrix and regression coefficient vector
    > n = 200
    > d = 400
    > X = matrix(rnorm(n*d), n, d)
    > beta = c(3,2,0,1.5,rep(0,d-4))
    >
    > ## Generate response using Gaussian noise, and fit a sparse linear model using SQRT Lasso
    > eps.sqrt = rnorm(n)
    > Y.sqrt = X%*%beta + eps.sqrt
    > out.sqrt = camel.slim(X = X, Y = Y.sqrt, lambda = seq(0.8,0.2,length.out=5))
    Sparse Linear Regression with L1 Regularization.
    SQRT Lasso regression via MFISTA.
    >
    > ## Generate response using Cauchy noise, and fit a sparse linear model using LAD Lasso
    > eps.lad = rt(n = n, df = 1)
    > Y.lad = X%*%beta + eps.lad
    > out.lad = camel.slim(X = X, Y = Y.lad, q = 1, lambda = seq(0.5,0.2,length.out=5))
    Sparse Linear Regression with L1 Regularization.
    LAD Lasso regression via MFISTA.
    >
    > ## Visualize the solution path
    > plot(out.sqrt)
    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

Version: 0.2.0
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     cmr_sparse_mfista.c:248:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64

Version: 0.2.0
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     cmr_sparse_mfista.c:248:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2.0
Check: compiled code
Result: NOTE
    File 'camel/libs/i386/camel.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'SFGen.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'SFGen.o'
    File 'camel/libs/x64/camel.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'SFGen.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'SFGen.o'
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See 'Writing portable packages' in the 'Writing R Extensions' manual.
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64

Version: 0.2.0
Check: compiled code
Result: NOTE
    File ‘camel/libs/camel.so’:
     Found ‘_rand’, possibly from ‘rand’ (C)
     Object: ‘SFGen.o’
     Found ‘_srand’, possibly from ‘srand’ (C)
     Object: ‘SFGen.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavor: r-devel-osx-x86_64

Version: 0.2.0
Check: compiled code
Result: NOTE
    File ‘camel/libs/camel.so’:
     Found ‘rand’, possibly from ‘rand’ (C)
     Object: ‘SFGen.o’
     Found ‘srand’, possibly from ‘srand’ (C)
     Object: ‘SFGen.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavor: r-patched-solaris-x86

Version: 0.2.0
Check: compiled code
Result: NOTE
    File ‘camel/libs/camel.so’:
     Found ‘_rand’, possibly from ‘rand’ (C)
     Object: ‘SFGen.o’
     Found ‘_srand’, possibly from ‘srand’ (C)
     Object: ‘SFGen.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor the system RNG.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavor: r-release-osx-x86_64

Version: 0.2.0
Check: compiled code
Result: NOTE
    File 'camel/libs/i386/camel.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'SFGen.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'SFGen.o'
    File 'camel/libs/x64/camel.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'SFGen.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'SFGen.o'
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor the system RNG.
    
    See 'Writing portable packages' in the 'Writing R Extensions' manual.
Flavor: r-oldrel-windows-ix86+x86_64