CRAN Package Check Results for Package PracTools

Last updated on 2015-05-28 05:46:59.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 1.08 25.08 26.16 OK
r-devel-linux-x86_64-debian-gcc 0.1 1.03 23.75 24.78 OK
r-devel-linux-x86_64-fedora-clang 0.1 50.26 OK
r-devel-linux-x86_64-fedora-gcc 0.1 48.82 OK
r-devel-osx-x86_64-clang 0.1 46.94 OK
r-devel-windows-ix86+x86_64 0.1 4.00 40.00 44.00 OK
r-patched-linux-x86_64 0.1 1.01 23.72 24.73 OK
r-patched-solaris-sparc 0.1 319.70 OK
r-patched-solaris-x86 0.1 65.40 OK
r-release-linux-x86_64 0.1 1.04 24.23 25.27 OK
r-release-osx-x86_64-mavericks 0.1 OK
r-release-osx-x86_64-snowleopard 0.1 ERROR
r-release-windows-ix86+x86_64 0.1 5.00 43.00 48.00 OK
r-oldrel-windows-ix86+x86_64 0.1 4.00 41.00 45.00 OK

Check Details

Version: 0.1
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: ‘samplingbook’ ‘survey’
Flavor: r-release-osx-x86_64-snowleopard

Version: 0.1
Check: examples
Result: ERROR
    Running examples in ‘PracTools-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: pclass
    > ### Title: Form nonresponse adjustment classes based on propensity scores
    > ### Aliases: pclass
    > ### Keywords: methods survey
    >
    > ### ** Examples
    >
    > # classes based on unweighted logistic regression
    > require(PracTools)
    > data(nhis)
    > out <- pclass(formula = resp ~ age + as.factor(sex) + as.factor(hisp) + as.factor(race),
    + data = nhis, type = "unwtd", link="logit", numcl=5)
    > table(out$p.class, useNA="always")
    
    [0.477,0.651] (0.651,0.68] (0.68,0.706] (0.706,0.734] (0.734,0.777]
     790 789 772 796 764
     <NA>
     0
    > summary(out$propensities)
     Min. 1st Qu. Median Mean 3rd Qu. Max.
     0.4769 0.6586 0.6924 0.6901 0.7260 0.7765
    > # classes based on survey-weighted logistic regression
    > require(survey)
    Loading required package: survey
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called ‘survey’
    > nhis.dsgn <- svydesign(ids = ~psu, strata = ~stratum, data = nhis, nest = TRUE, weights = ~svywt)
    Error: could not find function "svydesign"
    Execution halted
Flavor: r-release-osx-x86_64-snowleopard