Skip to content

Workshop • R Programming Foundations for Life Scientists • 5 days

License

Notifications You must be signed in to change notification settings

NBISweden/workshop-r

Repository files navigation

workshop-r gh-actions-build-status

This repo contains the course material for NBIS workshop R Programming Foundation for Life Scientists. The rendered view of this repo is available here.

Contributing

To add or update contents of this repo (for collaborators), first clone the repo.

git clone https://github.com/nbisweden/workshop-r.git

Make changes/updates as needed. Add the changed files. Commit it. Then push the repo back.

git add .
git commit -m "I did this and that"
git push origin

If you are not added as a collaborator, first fork this repo to your account, then clone it locally, make changes, commit, push to your repo, then submit a pull request to this repo.

❗ When updating repo for a new course, change output_dir: XXXX in _site.yml as the first thing, so that old rendered files are not overwritten.

❗ Do not push any rendered .html files or intermediates.

Repo organisation

The source material is located on the master branch (default). The rendered material is located on the gh-pages branch. For most part, one only needs to update content in master. Changes pushed to the master branch is automatically rendered to the gh-pages branch.

❗ The first build can take around 30-40 mins depending on the number of R packages (listed in _site.yml). Subsequent builds take about 2-3 minutes since caching is enabled. Caches are removed after 7 days of last access. A push after that will require a full rebuild. If you want to add new packages related to labs please add them to line 24. For core packages please use line 21.

For more details about repo organisation, updating and modifying this repo, check out the template repo.

Schedule

Schedule is saved into the schedule.csv file. It is a csv file with semi-colon as delimiter. You should NOT try to edit it in a text editor, but use proper spreadsheet. If you are using command line, you can install vd and open and edit the file vd --csv-delimiter ';' schedule.csv.


2020 NBIS • SciLifeLab