CRAN Package Check Results for Package straweib

Last updated on 2018-06-17 19:50:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 1.69 21.44 23.13 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 1.25 16.76 18.01 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 27.52 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0 26.28 NOTE
r-devel-windows-ix86+x86_64 1.0 5.00 31.00 36.00 NOTE
r-patched-linux-x86_64 1.0 1.52 20.11 21.63 ERROR
r-patched-solaris-x86 1.0 45.40 NOTE
r-release-linux-x86_64 1.0 1.42 19.99 21.41 ERROR
r-release-windows-ix86+x86_64 1.0 4.00 29.00 33.00 NOTE
r-release-osx-x86_64 1.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0 2.00 33.00 35.00 NOTE
r-oldrel-osx-x86_64 1.0 NOTE

Check Details

Version: 1.0
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.icweib print.icweib
    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
    HRatio: no visible global function definition for ‘qnorm’
    icweib: no visible global function definition for ‘model.frame’
    icweib: no visible binding for global variable ‘na.pass’
    icweib: no visible global function definition for ‘complete.cases’
    icweib: no visible global function definition for ‘model.matrix’
    icweib: no visible global function definition for ‘optim’
    icweib: no visible global function definition for ‘pchisq’
    icweib: no visible global function definition for ‘pnorm’
    plot.icweib : getstat: no visible global function definition for
     ‘qnorm’
    plot.icweib: no visible global function definition for ‘plot’
    plot.icweib: no visible global function definition for ‘lines’
    plot.icweib: no visible global function definition for ‘legend’
    print.icweib: no visible global function definition for ‘pchisq’
    Undefined global functions or variables:
     complete.cases legend lines model.frame model.matrix na.pass optim
     pchisq plot pnorm qnorm
    Consider adding
     importFrom("graphics", "legend", "lines", "plot")
     importFrom("stats", "complete.cases", "model.frame", "model.matrix",
     "na.pass", "optim", "pchisq", "pnorm", "qnorm")
    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 ‘straweib-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot.icweib
    > ### Title: Plot estimated survival function
    > ### Aliases: plot.icweib
    >
    > ### ** Examples
    >
    > data(tooth24)
    > fit <- icweib(L = left, R = right, data = tooth24, strata = dmf, covariates = ~sex)
    > surv <- plot(fit, Z = 1, tRange = c(1, 7), tEst=1:7, xlab = "Time", ylab = "Survival Function",
    + main = "Estimated survival function for sex = 1 (girls)")
    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, r-release-linux-x86_64