1. Installation
You can install formatR from CRAN, or yihui.r-universe.dev if you want to test the latest development version:
install.packages("formatR", repos = "http://cran.rstudio.com")
or development version
options(repos = c(yihui = "https://yihui.r-universe.dev", CRAN = "https://cloud.r-project.org"))
install.packages("formatR")
Or check out the …