scrsreport do?scrsreport adds a SCRS statistical report template to RStudio (>= 1.1.28) when you click “New Project… -> New Directory”. It creates a bookdown skeleton with gitbook (HTML) and pdfbook (PDF) templates matched with SCRS report templates originally created in 2016. This will help all reports have a consistent, professional look, as well as utilizing the benefits of bookdown (which is an enhanced version of R Markdown) including cross-referecens (section, figures, tables), citations, and math equations.
You need devtools package to install this package directly from its GitHub repo.
devtools::install_github("scrs-msu/scrsreport")
It will install all dependencies including bookdown and its dependencies. You may be asked to update your existing packages if needed.
This package does not have any public function you can call or documentation you can read. In fact, you hardly see any difference unless you do the following:


A new project with a set of template files will be created. The three most important files will be already open in the Source pane:
bookdown::gitbook) and PDF format (bookdown::pdf_book). The phrase Most Important Study should be changed to the title of the report (that matches the title in index.Rmd** file.pandoc_args). You can download the citation style at citation-style-language project and change the path and file name in **_output.yml** accordingly.Several generations of SCRS research assistants have developed and maintained several templates for a good-looking statistical report. The LaTeX style file was first created by Michael Lerch in 2015. In 2017, Kenneth Flagg and Jordan Schupbach created two sets of templates for R Markdown documents, one for PDF compilation and another for HTML compilation. Since then, Flagg and Tan Tran have refined and updated the templates to reflect changes in SCRS’ support grant, SCRS logos, and the periods when SCRS had a co-director and an assistant director. As of September 2019, there were three separate report templates in the Box Templates and Tools folder (internal link), making it tedious to use, train, and modify when needed. Also, reverting a report originally written for one format to another format is not simple because of the difference in the source file (LaTeX knitr vs. R Markdown). Moreover, since 2018, SCRS decided to offer an HTML version of draft reports to clients instead of PDF because of its many benefits, such as it can display visualizations without the limit of a paper, it is easier for the clients to re-use figures and R codes. However, R Markdown has many shortcomings and annoying bugs when writing professional documents (figure referencing, equations, citations, etc.).
bookdown is an open-source project that is built on R, Markdown, and pandoc by Yihui Xie. It aims to facilitate writing professional documents with the ability to compile one source file to multiple output formats (PDF, HTML, EPUB, Word, etc.). The strengths of bookdown that suits the purpose of a SCRS HTML report include, but not limited to:
scrsreport in the next release.