powered by
col_keys
Specify blank columns easily via col_keys
with_blanks(after = NULL, before = NULL)
Blank columns are added after/before the selected columns. Selections can be done by the semantics of dplyr::select.
dplyr::select
iris %>% as_flextable(col_keys = with_blanks(dplyr::ends_with("Width")))
Run the code above in your browser using DataLab