code <- "box::use(stringr[str_trim, str_pad], dplyr)"
style_box_use_text(code)
code <- "box::use(stringr[
str_trim,
str_pad
],
shiny[...], # nolint
dplyr[alias = select, mutate], alias = tidyr
path/to/module)
"
style_box_use_text(code)
style_box_use_text(code, trailing_commas_func = TRUE)
Run the code above in your browser using DataLab