RMI-PACTA / r2dii.usethis

Automate Package And Project Setup
https://2degreesinvesting.github.io/r2dii.usethis
Other
1 stars 2 forks source link

New use_alpha_imports() #35

Open maurolepore opened 3 years ago

maurolepore commented 3 years ago

R/imports.R typically holds calls of the form

#' @imprtFrom package function_a function_b ...

It's nice for function names to be alpha ordered but maintaining such order is a pain.

It would be nice to have an addin that refactors selected lines and alpha sorts the function names without messing up the prefix #' @importFrom package.

cc @jdhoffa