CRAN Package Check Results for Package YourCast

Last updated on 2015-09-03 08:50:18.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-patched-linux-x86_64 1.6.2 2.53 47.63 50.16 ERROR

Check Details

Version: 1.6.2
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     print.summary.yourcast
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavor: r-patched-linux-x86_64

Version: 1.6.2
Check: examples
Result: ERROR
    Running examples in ‘YourCast-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot.yourcast
    > ### Title: Plot generation tool for YourCast
    > ### Aliases: plot.yourcast
    >
    > ### ** Examples
    >
    > # Run Lee-Carter model for Figure 2.6 in Demographic Forecasting
    > data(chp.2.6.1)
    > ff.allc <- log(allc2/popu2) ~ time
    > ylc.allc <- yourcast(formula=ff.allc, dataobj=chp.2.6.1, model="LC",
    + elim.collinear=FALSE,
    + sample.frame=c(1950,2000,2001,2060))
    Creating formulas for all cross-sections...
    Applying formulas to data in each cross-section...
    Running model frames for data matrices...
    Building the covariates list...
    Standardizing covariates...
    Constructing the list of dependent variables...
    Creating the in-sample and out-sample periods for covariates...
    Creating lists for dependent variable,in-sample and out-sample...
    Saving preprocessing in the file.../home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/YourCast.Rcheck/yourcast.savetmp
    The size of yourcast.savetmp is = 66293
    Using LC model
    > # default
    > plot(ylc.allc,title="All causes of death")
    Error: nrow * ncol >= n is not TRUE
    Execution halted
Flavor: r-patched-linux-x86_64