Error in re-building vignettes:
  ...
Loading required package: cem
Loading required package: tcltk
Loading required package: lattice

How to use CEM? Type vignette("cem")

Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in min(x, na.rm = TRUE) :
  no non-missing arguments to min; returning Inf
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in min(x, na.rm = TRUE) :
  no non-missing arguments to min; returning Inf
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in min(x, na.rm = TRUE) :
  no non-missing arguments to min; returning Inf
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in dist(data[idx2, obj$vars], method = method, p = mpower) :
  NAs introduced by coercion
Warning in min(x, na.rm = TRUE) :
  no non-missing arguments to min; returning Inf
Loading required package: Amelia
Loading required package: Rcpp
## 
## Amelia II: Multiple Imputation
## (Version 1.7.4, built: 2015-12-05)
## Copyright (C) 2005-2017 James Honaker, Gary King and Matthew Blackwell
## Refer to http://gking.harvard.edu/amelia/ for more information
## 

Error: processing vignette ‘cem.Rnw’ failed with diagnostics:
 chunk 36 
Error in priors[, 2] <- match(priors[, 2], index) : 
  incorrect number of subscripts on matrix
Execution halted