The GitHub repository for the OUCRU R training course in 2025
Materials for the course in their quarto format are stored here
The course main webpage is here: https://oucru-modelling.github.io/R-training-2025/
- Make sure you are using
renv
for R package version control- Always start your session with
renv::restore()
- Before commit and push, run
renv::snapshot()
- Always start your session with
- Locations:
- Slides go into
slides/
- Slides should have
format: revealjs
in the YAML headers
- Slides should have
- Handouts go into
handouts/
- Handouts should have
format: html
in the YAML headers (orpdf
if you wish)
- Handouts should have
- Custom CSS rules go into
styles.css
- Append your own CSS rules here
- Slides go into
- Test locally with
quarto preview
: live preview and continuously render on savequarto render
: one-time render; resulting main page is_render/index.html
- Publish by:
- simply push your commits to the
main
branch, GitHub Actions should handle the rendering and publishing (desired) quarto publish gh-pages
(undesired)
- simply push your commits to the
- Project metadata is in
_quarto.yml
. You can control the metadata in your specific.qmd
files with its YAML header, which will override the project metadata.