Non-Invasive Pretty Printing of R Code
Pretty-prints R code without changing the user's formatting intent.
install.packages("styler")
remotes::install_cran("styler")