Error(s) in re-building vignettes:
  ...
--- re-building ‘table1-examples.Rmd’ using rmarkdown
--- finished re-building ‘table1-examples.Rmd’

Note: skipping ‘table1-latex.Rmd’ due to unavailable dependencies:
  'flextable'

--- re-building ‘table1-weighted.Rmd’ using rmarkdown

Quitting from table1-weighted.Rmd:35-54 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `loadNamespace()`:
! there is no package called 'Hmisc'
---
Backtrace:
     ▆
  1. ├─table1::table1(...)
  2. ├─table1:::table1.formula(...)
  3. │ └─table1:::table1.default(...)
  4. │   └─table1:::.table1.internal(...)
  5. │     └─base::lapply(...)
  6. │       └─table1 (local) FUN(X[[i]], ...)
  7. │         ├─base::do.call(...)
  8. │         └─base::lapply(...)
  9. │           └─table1 (local) FUN(X[[i]], ...)
 10. │             └─table1 (local) render(x = z, name = v, missing = any.missing[v], ...)
 11. │               ├─base::do.call(render.categorical, c(list(x = x), list(...)))
 12. │               └─table1 (local) `<fn>`(x = `<fct>`, big.mark = ",")
 13. │                 ├─base::sapply(...)
 14. │                 │ └─base::lapply(X = X, FUN = FUN, ...)
 15. │                 ├─table1::stats.apply.rounding(stats.default(x, ...), ...)
 16. │                 └─table1::stats.default(x, ...)
 17. │                   ├─base::eval(formals(Hmisc::wtd.quantile)$type)
 18. │                   └─base::formals(Hmisc::wtd.quantile)
 19. └─base::loadNamespace(x)
 20.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 21.     └─base (local) withOneRestart(expr, restarts[[1L]])
 22.       └─base (local) doWithOneRestart(return(expr), restart)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'table1-weighted.Rmd' failed with diagnostics:
there is no package called 'Hmisc'
--- failed re-building ‘table1-weighted.Rmd’

SUMMARY: processing the following file failed:
  ‘table1-weighted.Rmd’

Error: Vignette re-building failed.
Execution halted