CRAN Package Check Results for Package WeightIt

Last updated on 2018-02-09 06:48:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 2.74 24.82 27.56 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.0 1.89 22.28 24.17 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 36.08 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 35.02 ERROR
r-devel-windows-ix86+x86_64 0.3.0 7.00 52.00 59.00 NOTE
r-patched-linux-x86_64 0.3.0 0.94 29.55 30.49 ERROR
r-patched-solaris-x86 0.3.0 42.40 ERROR
r-release-linux-x86_64 0.3.0 0.91 29.28 30.19 ERROR
r-release-windows-ix86+x86_64 0.3.0 2.00 38.00 40.00 NOTE
r-release-osx-x86_64 0.3.0 NOTE
r-oldrel-windows-ix86+x86_64 0.3.0 5.00 53.00 58.00 NOTE
r-oldrel-osx-x86_64 0.2.0 ERROR

Check Details

Version: 0.3.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: ‘CBPS’ ‘sbw’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 0.3.0
Check: Rd cross-references
Result: WARN
    Unknown package ‘CBPS’ in Rd xrefs
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 0.3.0
Check: examples
Result: ERROR
    Running examples in ‘WeightIt-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: weightit
    > ### Title: Generate Balancing Weights
    > ### Aliases: weightit WeightIt print.weightit
    >
    > ### ** Examples
    >
    > library("cobalt")
    > data("lalonde", package = "cobalt")
    >
    > #Balancing covariates between treatment groups
    > (W1 <- weightit(treat ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "ps", estimand = "ATT"))
    A weightit object
     - method: "ps" (propensity score weighting)
     - number of obs.: 614
     - sampling weights: none
     - treatment: 2-category
     - estimand: ATT
     - covariates: age, educ, married, nodegree, re74
    > summary(W1)
    Summary of weights:
    
    - Weight ranges:
     Min Max
    treated 1.0000 || 1.0000
    control 0.0222 |---------------------------| 2.0438
    
    - Units with 5 greatest weights by group:
    
     1 2 3 4 5
     treated 1 1 1 1 1
     410 226 224 111 84
     control 1.3303 1.4365 1.5005 1.6369 2.0438
    
     Ratio Coef of Var
    treated 1.00 0.0000
    control 91.87 0.8231
    overall 91.87 0.6566
    
    - Effective Sample Sizes:
     Control Treated
    Unweighted 429.000 185
    Weighted 255.989 185
    > #bal.tab(W1)
    >
    > #Balancing covariates among races (3-level)
    > (W2 <- weightit(race ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "ebal", estimand = "ATE"))
    A weightit object
     - method: "ebal" (entropy balancing)
     - number of obs.: 614
     - sampling weights: none
     - treatment: 3-category (black, hispan, white)
     - estimand: ATE
     - covariates: age, educ, married, nodegree, re74
    > summary(W2)
    Summary of weights:
    
    - Weight ranges:
     Min Max
    black 1.3977 |-----------| 13.5168
    hispan 1.2018 |---------------------------| 28.4183
    white 0.8170 |-| 3.9492
    
    - Units with 5 greatest weights by group:
    
     203 166 163 153 152
     black 6.371 6.4407 7.0901 8.9822 13.5168
     67 43 39 36 28
     hispan 17.4517 21.5749 22.4465 23.0646 28.4183
     291 285 258 205 6
     white 3.5134 3.5373 3.5799 3.643 3.9492
    
     Ratio Coef of Var
    black 9.6711 0.5897
    hispan 23.6463 0.6092
    white 4.8339 0.3710
    overall 34.7848 0.9661
    
    - Effective Sample Sizes:
     black hispan white
    Unweighted 243.000 72.000 299.00
    Weighted 180.488 52.709 262.93
    > #bal.tab(W2)
    >
    > #Balancing covariates with respect to re78 (continuous)
    > (W3 <- weightit(re75 ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "cbps", over = FALSE))
    Error: Package "CBPS" needed for this function to work. Please install it.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.3.0
Check: examples
Result: ERROR
    Running examples in ‘WeightIt-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: weightit
    > ### Title: Generate Balancing Weights
    > ### Aliases: weightit WeightIt print.weightit
    >
    > ### ** Examples
    >
    > library("cobalt")
    > data("lalonde", package = "cobalt")
    >
    > #Balancing covariates between treatment groups
    > (W1 <- weightit(treat ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "ps", estimand = "ATT"))
    A weightit object
     - method: "ps" (propensity score weighting)
     - number of obs.: 614
     - sampling weights: none
     - treatment: 2-category
     - estimand: ATT
     - covariates: age, educ, married, nodegree, re74
    > summary(W1)
    Summary of weights:
    
    - Weight ranges:
     Min Max
    treated 1.0000 || 1.0000
    control 0.0222 |---------------------------| 2.0438
    
    - Units with 5 greatest weights by group:
    
     1 2 3 4 5
     treated 1 1 1 1 1
     410 226 224 111 84
     control 1.3303 1.4365 1.5005 1.6369 2.0438
    
     Ratio Coef of Var
    treated 1.00 0.0000
    control 91.87 0.8231
    overall 91.87 0.6566
    
    - Effective Sample Sizes:
     Control Treated
    Unweighted 429.000 185
    Weighted 255.989 185
    > #bal.tab(W1)
    >
    > #Balancing covariates among races (3-level)
    > (W2 <- weightit(race ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "ebal", estimand = "ATE"))
    A weightit object
     - method: "ebal" (entropy balancing)
     - number of obs.: 614
     - sampling weights: none
     - treatment: 3-category (black, hispan, white)
     - estimand: ATE
     - covariates: age, educ, married, nodegree, re74
    > summary(W2)
    Summary of weights:
    
    - Weight ranges:
     Min Max
    black 1.3977 |-----------| 13.5168
    hispan 1.2018 |---------------------------| 28.4183
    white 0.8170 |-| 3.9492
    
    - Units with 5 greatest weights by group:
    
     203 166 163 153 152
     black 6.371 6.4407 7.0901 8.9822 13.5168
     67 43 39 36 28
     hispan 17.4517 21.5749 22.4465 23.0646 28.4183
     291 285 258 205 6
     white 3.5134 3.5373 3.5799 3.643 3.9492
    
     Ratio Coef of Var
    black 9.6711 0.5897
    hispan 23.6463 0.6092
    white 4.8339 0.3710
    overall 34.7848 0.9661
    
    - Effective Sample Sizes:
     black hispan white
    Unweighted 243.000 72.000 299.00
    Weighted 180.488 52.709 262.93
    > #bal.tab(W2)
    >
    > #Balancing covariates with respect to re78 (continuous)
    > (W3 <- weightit(re75 ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "cbps", over = FALSE))
    Error: Package "CBPS" needed for this function to work. Please install it.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 0.3.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'sbw'
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘sbw’
Flavor: r-oldrel-osx-x86_64

Version: 0.2.0
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-osx-x86_64