Error(s) in re-building vignettes:
  ...
--- re-building ‘cobalt.Rmd’ using rmarkdown
 cobalt (Version 4.3.1, Build Date: 2021-03-30 09:50:18 UTC)

Attaching package: 'MatchIt'

The following object is masked _by_ '.GlobalEnv':

    lalonde

The following object is masked from 'package:cobalt':

    lalonde

--- finished re-building ‘cobalt.Rmd’

--- re-building ‘cobalt_A1_other_packages.Rmd’ using rmarkdown
To reproduce results from prior versions of the twang package, please see the version="legacy" option described in the documentation.
Warning in ps.fast(formula = formula, data = data, n.trees = nrounds, interaction.depth = max_depth,  :
  Optimal number of iterations is close to the specified n.trees. n.trees is likely set too small and better balance might be obtainable by setting n.trees to be larger.
Warning in ps.fast(formula = formula, data = data, n.trees = nrounds, interaction.depth = max_depth,  :
  Optimal number of iterations is close to the specified n.trees. n.trees is likely set too small and better balance might be obtainable by setting n.trees to be larger.
Loading required package: MASS
## 
##  Matching (Version 4.9-11, Build Date: 2021-10-18)
##  See http://sekhon.berkeley.edu/matching for additional documentation.
##  Please cite software as:
##   Jasjeet S. Sekhon. 2011. ``Multivariate and Propensity Score Matching
##   Software with Automated Balance Optimization: The Matching package for R.''
##   Journal of Statistical Software, 42(7): 1-52. 
##

Loading required package: survival
The optmatch package has an academic license. Enter relaxinfo() for more information.
Quitting from lines 148-158 (cobalt_A1_other_packages.Rmd) 
Error: processing vignette ‘cobalt_A1_other_packages.Rmd’ failed with diagnostics:
Some elements of the distance matrix are not found in the data argument.
--- failed re-building ‘cobalt_A1_other_packages.Rmd’

--- re-building ‘cobalt_A2_segmented_data.Rmd’ using rmarkdown
Warning: Standardized mean differences and raw mean differences are present in the same plot. 
Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
Warning: Standardized mean differences and raw mean differences are present in the same plot. 
Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
Warning: Standardized mean differences and raw mean differences are present in the same plot. 
Use the 'stars' argument to distinguish between them and appropriately label the x-axis.

Attaching package: 'mice'

The following object is masked from 'package:stats':

    filter

The following objects are masked from 'package:base':

    cbind, rbind


Attaching package: 'MatchThem'

The following objects are masked from 'package:mice':

    cbind, pool

The following object is masked from 'package:base':

    cbind

Estimating weights     | dataset: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10
Estimating weights     | dataset: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10
Warning: Standardized mean differences and raw mean differences are present in the same plot. 
Use the 'stars' argument to distinguish between them and appropriately label the x-axis.
--- finished re-building ‘cobalt_A2_segmented_data.Rmd’

--- re-building ‘cobalt_A3_longitudinal_treat.Rmd’ using rmarkdown
--- finished re-building ‘cobalt_A3_longitudinal_treat.Rmd’

--- re-building ‘cobalt_A4_love.plot.Rmd’ using rmarkdown
--- finished re-building ‘cobalt_A4_love.plot.Rmd’

SUMMARY: processing the following file failed:
  ‘cobalt_A1_other_packages.Rmd’

Error: Vignette re-building failed.
Execution halted