CRAN Package Check Results for Package mpr

Last updated on 2021-02-05 15:54:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 8.52 67.96 76.48 OK
r-devel-linux-x86_64-debian-gcc 1.0.5 6.88 50.50 57.38 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.5 99.51 OK
r-devel-linux-x86_64-fedora-gcc 1.0.5 88.77 OK
r-devel-windows-ix86+x86_64 1.0.5 17.00 68.00 85.00 OK
r-patched-linux-x86_64 1.0.5 7.94 65.12 73.06 OK
r-patched-solaris-x86 1.0.5 132.70 OK
r-release-linux-x86_64 1.0.5 8.74 65.68 74.42 OK
r-release-macos-x86_64 1.0.5 OK
r-release-windows-ix86+x86_64 1.0.5 18.00 91.00 109.00 OK
r-oldrel-macos-x86_64 1.0.5 OK
r-oldrel-windows-ix86+x86_64 1.0.5 11.00 64.00 75.00 OK

Check Details

Version: 1.0.5
Check: examples
Result: ERROR
    Running examples in ‘mpr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: stepmpr
    > ### Title: Stepwise Selection Procedure for Multi-Parameter Regression
    > ### (MPR) Models
    > ### Aliases: stepmpr
    >
    > ### ** Examples
    >
    > # Veterans' administration lung cancer data
    > data(veteran, package="survival")
    > head(veteran)
     trt celltype time status karno diagtime age prior
    1 1 squamous 72 1 60 7 69 0
    2 1 squamous 411 1 70 5 64 10
    3 1 squamous 228 1 60 3 38 0
    4 1 squamous 126 1 60 9 63 10
    5 1 squamous 118 1 70 11 65 10
    6 1 squamous 10 1 20 5 49 0
    >
    > #######
    > mod0 <- mpr(Surv(time, status) ~ 1, data=veteran)
    > mod0 # family = "Weibull" by default
    Call:
    mpr(formula = Surv(time, status) ~ 1, data = veteran)
    
    Model:
     family npar loglike aic bic code
     Weibull 2 -748.0912 1500.182 1506.022 1
    
    Coefficients:
    Beta:
    (Intercept).b
     -4.084166
    Alpha:
    (Intercept).a
     -0.1600693
    >
    > # the "upper" model formula (by default the lower will be ~ 1)
    > scope <- ~ trt + celltype
    >
    > stepmpr(mod0, scope)
    ----------------------------------------------------------------
    Step(0)
    
    Components:
    1 ~1
    2 ~1
    Error in xtfrm.data.frame(x) : cannot xtfrm data frames
    Calls: stepmpr ... lapply -> FUN -> as.vector -> xtfrm -> xtfrm.data.frame
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc