Jedid Ahn & Derek Beaton. Updated as of March 14, 2021.
The ONDRIdown
package is an R package for creating ONDRI documentation
using a standardized RMarkdown template. This package is currently
under development.
Class files (for APA style citations) are from Citation Style Language’s GitHub page. Much of the inspiration and basis of the template comes from bookdown.
- Install R first and then RStudio. Please choose the correct installer carefully as it will depend on your computer’s operating system.
- Download and install the template directly with the following lines of code:
if (!require("devtools")){
install.packages("devtools")
}
devtools::install_github(repo = "ondri-nibs/ondridown")
If you get the following message in your RStudio console, please type 3.
- Install the following R packages if you haven’t already. Please type 3 again if you get the message above.
install.packages("knitr")
install.packages("ggplot2")
install.packages("bookdown")
install.packages("tinytex")
tinytex::install_tinytex()
When installation is complete, please exit your RStudio and then reopen
it. Go to File -> New File -> RMarkdown... -> From Template
. You will
see the window below.
Please select “ONDRI Template” to generate a directory with the RMarkdown template file and its dependencies.