CRAN Package Check Results for Package WeightIt

Last updated on 2020-07-02 02:10:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.0 10.93 139.84 150.77 OK
r-devel-linux-x86_64-debian-gcc 0.9.0 9.05 102.06 111.11 OK
r-devel-linux-x86_64-fedora-clang 0.9.0 188.13 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 325.20 OK
r-devel-windows-ix86+x86_64 0.9.0 30.00 153.00 183.00 OK
r-patched-linux-x86_64 0.9.0 12.27 135.76 148.03 OK
r-patched-solaris-x86 0.9.0 251.80 OK
r-release-linux-x86_64 0.9.0 14.15 136.98 151.13 OK
r-release-osx-x86_64 0.9.0 OK
r-release-windows-ix86+x86_64 0.9.0 20.00 155.00 175.00 OK
r-oldrel-osx-x86_64 0.9.0 OK
r-oldrel-windows-ix86+x86_64 0.9.0 27.00 115.00 142.00 ERROR

Check Details

Version: 0.9.0
Check: examples
Result: ERROR
    Running examples in 'WeightIt-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: method_cbps
    > ### Title: Covariate Balancing Propensity Score Weighting
    > ### Aliases: method_cbps
    >
    > ### ** Examples
    >
    > library("cobalt")
     cobalt (Version 4.2.2, Build Date: 2020-06-26 15:50:03 UTC)
    > data("lalonde", package = "cobalt")
    >
    > #Balancing covariates between treatment groups (binary)
    > (W1 <- weightit(treat ~ age + educ + married +
    + nodegree + re74, data = lalonde,
    + method = "cbps", estimand = "ATT"))
    A weightit object
     - method: "cbps" (covariate balancing propensity score weighting)
     - number of obs.: 614
     - sampling weights: none
     - treatment: 2-category
     - estimand: ATT (focal: 1)
     - covariates: age, educ, married, nodegree, re74
    > summary(W1)
     Summary of weights
    
    - Weight ranges:
    
     Min Max
    treated 1.000 || 1.0000
    control 0.017 |---------------------------| 2.2742
    
    - Units with 5 greatest weights by group:
    
     1 2 4 5 6
     treated 1 1 1 1 1
     595 589 409 296 269
     control 1.4755 1.4873 1.5799 1.7484 2.2742
    
    - Weight statistics:
    
     Coef of Var MAD Entropy
    treated 0.000 0.000 0.000
    control 0.839 0.707 -214.522
    overall 0.663 0.606 -153.527
    
    - Effective Sample Sizes:
    
     Control Treated
    Unweighted 429.000 185
    Weighted 251.985 185
    > bal.tab(W1)
    Error in deparse1(substitute(x)) : could not find function "deparse1"
    Calls: bal.tab -> is_
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.9.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'WeightIt_A0_basic_use.Rmd' using rmarkdown
    Quitting from lines 38-41 (WeightIt_A0_basic_use.Rmd)
    Error: processing vignette 'WeightIt_A0_basic_use.Rmd' failed with diagnostics:
    could not find function "deparse1"
    --- failed re-building 'WeightIt_A0_basic_use.Rmd'
    
    SUMMARY: processing the following file failed:
     'WeightIt_A0_basic_use.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64