This workshop teaches you the skills to make your code reusable by others. In one day you will share your coding project on GitHub and work on the minimal requirements needed for others to run your code. At the end of the day we will do a short reusability check of each other's repository.
This workshop is aimed at researchers who want to make their code reusable. You are able to write basic code in a programming language like R or Python. This can be a few simple lines of code or a larger piece of software.
Participants must bring their own coding project to the workshop. This can range from a few small scripts to an extensive piece of software.
If you are already familiar with using version control and GitHub, documenting dependencies of your project, basic software documentation, and basic coding conventions, and the basics of modular coding than this course is probably to introductory for you.
To build this lesson locally, you should follow the setup instructions for the workbench. In short, make sure you have R, Git, and Pandoc installed, open R and use the following commands to install/update the packages needed for the infrastructure:
# register the repositories for The Carpentries and CRAN
options(repos = c(
carpentries = "https://carpentries.r-universe.dev/",
CRAN = "https://cran.rstudio.com/"
))
# Install the template packages to your R library
install.packages(c("sandpaper", "varnish", "pegboard", "tinkr"))
See the Carpentries Workbench usage instructions on how to render the website locally.
Current maintainers of this lesson are
- Sven van der Burg ([email protected])
- Eduard Klapwijk ([email protected])