The goal of papercheck is to automatically check scientific papers for best practices. You can find out more at https://scienceverse.github.io/papercheck/.
You can install the development version of papercheck from GitHub with:
# install.packages("devtools")
devtools::install_github("scienceverse/papercheck")