CRAN Package Check Results for Package perturb

Last updated on 2020-12-10 17:48:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.10 2.66 27.78 30.44 ERROR
r-devel-linux-x86_64-debian-gcc 2.10 2.30 22.04 24.34 ERROR
r-devel-linux-x86_64-fedora-clang 2.10 41.57 ERROR
r-devel-linux-x86_64-fedora-gcc 2.10 31.93 ERROR
r-devel-windows-ix86+x86_64 2.10 16.00 42.00 58.00 ERROR
r-patched-linux-x86_64 2.10 2.81 26.88 29.69 OK
r-patched-solaris-x86 2.10 50.10 OK
r-release-linux-x86_64 2.10 2.99 27.89 30.88 OK
r-release-macos-x86_64 2.10 OK
r-release-windows-ix86+x86_64 2.10 6.00 42.00 48.00 OK
r-oldrel-macos-x86_64 2.10 OK
r-oldrel-windows-ix86+x86_64 2.10 13.00 40.00 53.00 OK

Check Details

Version: 2.10
Check: examples
Result: ERROR
    Running examples in 'perturb-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: perturb
    > ### Title: Perturbation analysis to evaluate collinearity
    > ### Aliases: perturb summary.perturb print.summary.perturb
    > ### Keywords: regression
    >
    > ### ** Examples
    >
    > library(car)
    Loading required package: carData
    > data(Duncan)
    > attach(Duncan)
    > m1<-lm(prestige~income+education)
    > summary(m1)
    
    Call:
    lm(formula = prestige ~ income + education)
    
    Residuals:
     Min 1Q Median 3Q Max
    -29.538 -6.417 0.655 6.605 34.641
    
    Coefficients:
     Estimate Std. Error t value Pr(>|t|)
    (Intercept) -6.06466 4.27194 -1.420 0.163
    income 0.59873 0.11967 5.003 1.05e-05 ***
    education 0.54583 0.09825 5.555 1.73e-06 ***
    ---
    Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
    
    Residual standard error: 13.37 on 42 degrees of freedom
    Multiple R-squared: 0.8282, Adjusted R-squared: 0.82
    F-statistic: 101.2 on 2 and 42 DF, p-value: < 2.2e-16
    
    > anova(m1)
    Analysis of Variance Table
    
    Response: prestige
     Df Sum Sq Mean Sq F value Pr(>F)
    income 1 30664.8 30664.8 171.570 < 2.2e-16 ***
    education 1 5516.1 5516.1 30.863 1.727e-06 ***
    Residuals 42 7506.7 178.7
    ---
    Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
    > vif(m1)
     income education
     2.1049 2.1049
    > p1<-perturb(m1,pvars=c("income","education"),prange=c(1,1))
    Error in get(pvars) : first argument has length > 1
    Calls: perturb -> stopifnot -> get
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.10
Check: examples
Result: ERROR
    Running examples in ‘perturb-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: perturb
    > ### Title: Perturbation analysis to evaluate collinearity
    > ### Aliases: perturb summary.perturb print.summary.perturb
    > ### Keywords: regression
    >
    > ### ** Examples
    >
    > library(car)
    Loading required package: carData
    > data(Duncan)
    > attach(Duncan)
    > m1<-lm(prestige~income+education)
    > summary(m1)
    
    Call:
    lm(formula = prestige ~ income + education)
    
    Residuals:
     Min 1Q Median 3Q Max
    -29.538 -6.417 0.655 6.605 34.641
    
    Coefficients:
     Estimate Std. Error t value Pr(>|t|)
    (Intercept) -6.06466 4.27194 -1.420 0.163
    income 0.59873 0.11967 5.003 1.05e-05 ***
    education 0.54583 0.09825 5.555 1.73e-06 ***
    ---
    Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    
    Residual standard error: 13.37 on 42 degrees of freedom
    Multiple R-squared: 0.8282, Adjusted R-squared: 0.82
    F-statistic: 101.2 on 2 and 42 DF, p-value: < 2.2e-16
    
    > anova(m1)
    Analysis of Variance Table
    
    Response: prestige
     Df Sum Sq Mean Sq F value Pr(>F)
    income 1 30664.8 30664.8 171.570 < 2.2e-16 ***
    education 1 5516.1 5516.1 30.863 1.727e-06 ***
    Residuals 42 7506.7 178.7
    ---
    Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    > vif(m1)
     income education
     2.1049 2.1049
    > p1<-perturb(m1,pvars=c("income","education"),prange=c(1,1))
    Error in get(pvars) : first argument has length > 1
    Calls: perturb -> stopifnot -> get
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64