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