This repository contains a tutorial on code publishing created for the LMU Open Science Center. It can be viewed online at https://lmu-osc.github.io/code-publishing/.
The tutorial pages are contained in the *.qmd
files in the root folder.
All images are contained in the folder images
.
The tutorial is written in Markdown and uses Quarto to render it as a website. To render the tutorial on your own computer, you need to have Quarto installed.
Further, the R package renv
is used to track the project's dependencies
One can install renv
by running the following:
install.packages("renv")
Then, one can restore the dependencies tracked with renv
by running the following:
renv::restore()
While you are working on the tutorial, you can preview it by running:
quarto preview
This will open the tutorial in your browser. If you make any changes, the website will automatically reload.
If you are done editing and would like to render the tutorial to a static website, run the following:
quarto render
If you are contributing to this tutorial, please read the contributing notes before.
Except where noted otherwise, the narrative text in this tutorial is licensed under CC BY-SA 4.0; the code without any narrative text is also (at your option) available under CC0 1.0.