CRAN Package Check Results for Package rms

Last updated on 2019-03-27 00:48:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.1-3 33.83 184.25 218.08 ERROR
r-devel-linux-x86_64-debian-gcc 5.1-3 28.53 143.40 171.93 ERROR
r-devel-linux-x86_64-fedora-clang 5.1-3 278.41 ERROR
r-devel-linux-x86_64-fedora-gcc 5.1-3 273.00 ERROR
r-devel-windows-ix86+x86_64 5.1-3 62.00 217.00 279.00 ERROR
r-patched-linux-x86_64 5.1-3 29.76 222.01 251.77 OK
r-patched-solaris-x86 5.1-3 387.40 OK
r-release-linux-x86_64 5.1-3 25.28 223.47 248.75 OK
r-release-windows-ix86+x86_64 5.1-3 72.00 300.00 372.00 OK
r-release-osx-x86_64 5.1-3 OK
r-oldrel-windows-ix86+x86_64 5.1-3 27.00 453.00 480.00 OK
r-oldrel-osx-x86_64 5.1-3 OK

Check Details

Version: 5.1-3
Check: examples
Result: ERROR
    Running examples in 'rms-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Function
    > ### Title: Compose an S Function to Compute X beta from a Fit
    > ### Aliases: Function.rms Function.cph sascode perlcode
    > ### Keywords: regression methods interface models survival math
    >
    > ### ** Examples
    >
    > set.seed(1331)
    > x1 <- exp(rnorm(100))
    > x2 <- factor(sample(c('a','b'),100,rep=TRUE))
    > dd <- datadist(x1, x2)
    > options(datadist='dd')
    > y <- log(x1)^2+log(x1)*(x2=='b')+rnorm(100)/4
    > f <- ols(y ~ pol(log(x1),2)*x2)
    > f$coef
     Intercept x1 x1^2 x2=b x1 * x2=b x1^2 * x2=b
    -0.001885864 -0.019198566 1.017432226 0.047810769 1.037259829 -0.032005994
    > g <- Function(f, digits=5)
    > g
    function (x1 = 1.0906, x2 = "b")
    {
     x1 <- log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1^2 + 0.047811 * (x2 ==
     "b") + (x2 == "b") * (1.0373 * x1 - 0.032006 * x1^2)
    }
    <environment: 0x8645ed8>
    > sascode(g)
     x1 = log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1**2 + 0.047811 * (x2 =
     "b") + (x2 = "b") * (1.0373 * x1 - 0.032006 * x1**2);
    > cat(perlcode(g), '\n')
    Error in expr[[3]] : subscript out of bounds
    Calls: cat ... convert -> f -> paste -> convert -> f -> paste -> convert
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 5.1-3
Check: examples
Result: ERROR
    Running examples in ‘rms-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Function
    > ### Title: Compose an S Function to Compute X beta from a Fit
    > ### Aliases: Function.rms Function.cph sascode perlcode
    > ### Keywords: regression methods interface models survival math
    >
    > ### ** Examples
    >
    > set.seed(1331)
    > x1 <- exp(rnorm(100))
    > x2 <- factor(sample(c('a','b'),100,rep=TRUE))
    > dd <- datadist(x1, x2)
    > options(datadist='dd')
    > y <- log(x1)^2+log(x1)*(x2=='b')+rnorm(100)/4
    > f <- ols(y ~ pol(log(x1),2)*x2)
    > f$coef
     Intercept x1 x1^2 x2=b x1 * x2=b x1^2 * x2=b
    -0.001885864 -0.019198566 1.017432226 0.047810769 1.037259829 -0.032005994
    > g <- Function(f, digits=5)
    > g
    function (x1 = 1.0906, x2 = "b")
    {
     x1 <- log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1^2 + 0.047811 * (x2 ==
     "b") + (x2 == "b") * (1.0373 * x1 - 0.032006 * x1^2)
    }
    <environment: 0x55a6241a83c0>
    > sascode(g)
     x1 = log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1**2 + 0.047811 * (x2 =
     "b") + (x2 = "b") * (1.0373 * x1 - 0.032006 * x1**2);
    > cat(perlcode(g), '\n')
    Error in expr[[3]] : subscript out of bounds
    Calls: cat ... convert -> f -> paste -> convert -> f -> paste -> convert
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 5.1-3
Check: examples
Result: ERROR
    Running examples in ‘rms-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Function
    > ### Title: Compose an S Function to Compute X beta from a Fit
    > ### Aliases: Function.rms Function.cph sascode perlcode
    > ### Keywords: regression methods interface models survival math
    >
    > ### ** Examples
    >
    > set.seed(1331)
    > x1 <- exp(rnorm(100))
    > x2 <- factor(sample(c('a','b'),100,rep=TRUE))
    > dd <- datadist(x1, x2)
    > options(datadist='dd')
    > y <- log(x1)^2+log(x1)*(x2=='b')+rnorm(100)/4
    > f <- ols(y ~ pol(log(x1),2)*x2)
    > f$coef
     Intercept x1 x1^2 x2=b x1 * x2=b x1^2 * x2=b
    -0.001885864 -0.019198566 1.017432226 0.047810769 1.037259829 -0.032005994
    > g <- Function(f, digits=5)
    > g
    function (x1 = 1.0906, x2 = "b")
    {
     x1 <- log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1^2 + 0.047811 * (x2 ==
     "b") + (x2 == "b") * (1.0373 * x1 - 0.032006 * x1^2)
    }
    <environment: 0x9c7b660>
    > sascode(g)
     x1 = log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1**2 + 0.047811 * (x2 =
     "b") + (x2 = "b") * (1.0373 * x1 - 0.032006 * x1**2);
    > cat(perlcode(g), '\n')
    Error in expr[[3]] : subscript out of bounds
    Calls: cat ... convert -> f -> paste -> convert -> f -> paste -> convert
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 5.1-3
Check: examples
Result: ERROR
    Running examples in ‘rms-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Function
    > ### Title: Compose an S Function to Compute X beta from a Fit
    > ### Aliases: Function.rms Function.cph sascode perlcode
    > ### Keywords: regression methods interface models survival math
    >
    > ### ** Examples
    >
    > set.seed(1331)
    > x1 <- exp(rnorm(100))
    > x2 <- factor(sample(c('a','b'),100,rep=TRUE))
    > dd <- datadist(x1, x2)
    > options(datadist='dd')
    > y <- log(x1)^2+log(x1)*(x2=='b')+rnorm(100)/4
    > f <- ols(y ~ pol(log(x1),2)*x2)
    > f$coef
     Intercept x1 x1^2 x2=b x1 * x2=b x1^2 * x2=b
    -0.001885864 -0.019198566 1.017432226 0.047810769 1.037259829 -0.032005994
    > g <- Function(f, digits=5)
    > g
    function (x1 = 1.0906, x2 = "b")
    {
     x1 <- log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1^2 + 0.047811 * (x2 ==
     "b") + (x2 == "b") * (1.0373 * x1 - 0.032006 * x1^2)
    }
    <environment: 0x97534f0>
    > sascode(g)
     x1 = log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1**2 + 0.047811 * (x2 =
     "b") + (x2 = "b") * (1.0373 * x1 - 0.032006 * x1**2);
    > cat(perlcode(g), '\n')
    Error in expr[[3]] : subscript out of bounds
    Calls: cat ... convert -> f -> paste -> convert -> f -> paste -> convert
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 5.1-3
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'rms-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: Function
    > ### Title: Compose an S Function to Compute X beta from a Fit
    > ### Aliases: Function.rms Function.cph sascode perlcode
    > ### Keywords: regression methods interface models survival math
    >
    > ### ** Examples
    >
    > set.seed(1331)
    > x1 <- exp(rnorm(100))
    > x2 <- factor(sample(c('a','b'),100,rep=TRUE))
    > dd <- datadist(x1, x2)
    > options(datadist='dd')
    > y <- log(x1)^2+log(x1)*(x2=='b')+rnorm(100)/4
    > f <- ols(y ~ pol(log(x1),2)*x2)
    > f$coef
     Intercept x1 x1^2 x2=b x1 * x2=b x1^2 * x2=b
    -0.001885864 -0.019198566 1.017432226 0.047810769 1.037259829 -0.032005994
    > g <- Function(f, digits=5)
    > g
    function (x1 = 1.0906, x2 = "b")
    {
     x1 <- log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1^2 + 0.047811 * (x2 ==
     "b") + (x2 == "b") * (1.0373 * x1 - 0.032006 * x1^2)
    }
    <environment: 0x069a1320>
    > sascode(g)
     x1 = log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1**2 + 0.047811 * (x2 =
     "b") + (x2 = "b") * (1.0373 * x1 - 0.032006 * x1**2);
    > cat(perlcode(g), '\n')
    Error in expr[[3]] : subscript out of bounds
    Calls: cat ... convert -> f -> paste -> convert -> f -> paste -> convert
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 5.1-3
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'rms-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: Function
    > ### Title: Compose an S Function to Compute X beta from a Fit
    > ### Aliases: Function.rms Function.cph sascode perlcode
    > ### Keywords: regression methods interface models survival math
    >
    > ### ** Examples
    >
    > set.seed(1331)
    > x1 <- exp(rnorm(100))
    > x2 <- factor(sample(c('a','b'),100,rep=TRUE))
    > dd <- datadist(x1, x2)
    > options(datadist='dd')
    > y <- log(x1)^2+log(x1)*(x2=='b')+rnorm(100)/4
    > f <- ols(y ~ pol(log(x1),2)*x2)
    > f$coef
     Intercept x1 x1^2 x2=b x1 * x2=b x1^2 * x2=b
    -0.001885864 -0.019198566 1.017432226 0.047810769 1.037259829 -0.032005994
    > g <- Function(f, digits=5)
    > g
    function (x1 = 1.0906, x2 = "b")
    {
     x1 <- log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1^2 + 0.047811 * (x2 ==
     "b") + (x2 == "b") * (1.0373 * x1 - 0.032006 * x1^2)
    }
    <environment: 0x000000000e1bdd58>
    > sascode(g)
     x1 = log(x1)
     -0.0018859 - 0.019199 * x1 + 1.0174 * x1**2 + 0.047811 * (x2 =
     "b") + (x2 = "b") * (1.0373 * x1 - 0.032006 * x1**2);
    > cat(perlcode(g), '\n')
    Error in expr[[3]] : subscript out of bounds
    Calls: cat ... convert -> f -> paste -> convert -> f -> paste -> convert
    Execution halted
Flavor: r-devel-windows-ix86+x86_64