CRAN Package Check Results for Package SMIR

Last updated on 2018-05-28 04:49:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.02 1.50 17.74 19.24 ERROR
r-devel-linux-x86_64-debian-gcc 0.02 1.32 16.24 17.56 ERROR
r-devel-linux-x86_64-fedora-clang 0.02 29.77 NOTE
r-devel-linux-x86_64-fedora-gcc 0.02 27.96 NOTE
r-devel-windows-ix86+x86_64 0.02 3.00 33.00 36.00 NOTE
r-patched-linux-x86_64 0.02 1.19 19.20 20.39 ERROR
r-patched-solaris-x86 0.02 42.80 NOTE
r-release-linux-x86_64 0.02 1.19 19.18 20.37 ERROR
r-release-windows-ix86+x86_64 0.02 4.00 49.00 53.00 NOTE
r-release-osx-x86_64 0.02 NOTE
r-oldrel-windows-ix86+x86_64 0.02 6.00 31.00 37.00 NOTE
r-oldrel-osx-x86_64 0.02 NOTE

Check Details

Version: 0.02
Check: dependencies in R code
Result: NOTE
    'library' or 'require' calls in package code:
     ‘MASS’ ‘survival’
     Please use :: or requireNamespace() instead.
     See section 'Suggested 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-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: 0.02
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     disparity.glm disparity.lm summary.treg
    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.02
Check: R code for possible problems
Result: NOTE
    NPL.bands: no visible global function definition for ‘pbeta’
    NPL.bands: no visible global function definition for ‘qbeta’
    R2: no visible global function definition for ‘fitted’
    R2: no visible global function definition for ‘residuals’
    R2: no visible global function definition for ‘cor’
    R2CV: no visible global function definition for ‘fitted’
    R2CV: no visible global function definition for ‘residuals’
    R2CV: no visible global function definition for ‘influence’
    R2CV: no visible global function definition for ‘cor’
    Rsq: no visible global function definition for ‘cor’
    Rsq: no visible global function definition for ‘fitted’
    coxph.disparity: no visible global function definition for ‘basehaz’
    disparity.glm : <anonymous>: no visible global function definition for
     ‘resid’
    disparity.glm : <anonymous>: no visible global function definition for
     ‘dnorm’
    disparity.glm : <anonymous>: no visible global function definition for
     ‘fitted’
    disparity.glm : <anonymous>: no visible global function definition for
     ‘dbinom’
    disparity.glm : <anonymous>: no visible global function definition for
     ‘gamma.shape’
    disparity.glm : <anonymous>: no visible global function definition for
     ‘dgamma’
    disparity.lm: no visible global function definition for ‘resid’
    summary.treg: no visible global function definition for ‘pt’
    summary.treg: no visible global function definition for ‘coef’
    treg: no visible global function definition for ‘model.matrix’
    treg: no visible global function definition for ‘resid’
    treg: no visible global function definition for ‘lm.wfit’
    treg: no visible global function definition for ‘coef’
    Undefined global functions or variables:
     basehaz coef cor dbinom dgamma dnorm fitted gamma.shape influence
     lm.wfit model.matrix pbeta pt qbeta resid residuals
    Consider adding
     importFrom("stats", "coef", "cor", "dbinom", "dgamma", "dnorm",
     "fitted", "influence", "lm.wfit", "model.matrix", "pbeta",
     "pt", "qbeta", "resid", "residuals")
    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: 0.02
Check: examples
Result: ERROR
    Running examples in ‘SMIR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: NPL.bands
    > ### Title: Nonparametric likelihood confidence bands
    > ### Aliases: NPL.bands
    > ### Keywords: distribution
    >
    > ### ** Examples
    >
    > ### Empirical distribution of a gamma variable
    > ### and comparing to a normal
    > library(lattice)
    > y <- round(rgamma(100,shape=1.4,scale=20))
    > meany <- mean(y)
    > sdy <- sd(y)
    > print(xyplot(qnorm(lower)+qnorm(upper)~x,data=NPL.bands(y),
    + panel=function(x,y,...){
    + panel.xyplot(x,y,...)
    + panel.curve(qnorm(pnorm(x,mean=meany,sd=sdy)))}))
    Error in if (conf.level == 0.95) { : the condition has length > 1
    Calls: print -> xyplot -> xyplot.formula -> eval -> NPL.bands
    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