Style the box::use() calls of a source code
Details
Refer to style_box_use_text()
for styling details.
Examples
code <- "box::use(stringr[str_trim, str_pad], dplyr)"
file <- tempfile("style", fileext = ".R")
writeLines(code, file)
style_box_use_file(file)
#> Warning: `/tmp/RtmpoQszHP/style170d6cc809ce.R` was modified. Please review the
#> modifications made. Comments near box::use() are moved to the top of the file.