Skip to content

Commit 04bb6e3

Browse files
authored
Merge pull request #13 from forwards/jtr13-patch-2
Revise prerequisites and move git and GitHub section
2 parents 7e08f3d + e93a5c6 commit 04bb6e3

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

prerequisites.qmd

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Prerequisites
33
---
44

5-
*Last updated: May 11th, 2026*
5+
*Last updated: May 12th, 2026*
66

77
## Prior knowledge
88

@@ -15,15 +15,6 @@ Two of the modules from the Warwick-Stats-Resources R Foundations course covers
1515
- [Introduction to R and RStudio](https://warwick-stats-resources.github.io/r-foundations/content/01-intro/)
1616
- [Programming in R](https://warwick-stats-resources.github.io/r-foundations/content/03-programming/)
1717

18-
## git and GitHub
19-
20-
Although there will be some time dedicated to this in the workshop, it would be advantageous if you already have:
21-
22-
- `git` installed on your computer. See <https://git-scm.com/book/en/v2/Getting-Started-Installing-Git>
23-
- a [GitHub](https://github.com) account
24-
- a GitHub PAT configured to work with RStudio -- the vignette from the usethis package on [Managing Git(Hub) Credentials](https://usethis.r-lib.org/articles/git-credentials.html) goes through this.
25-
26-
[Happy Git and GitHub for the useR](https://happygitwithr.com/) is an excellent resource for troubleshooting git related issues and checking that your setup works. Note that while the git/GitHub setup is convenient for sharing packages, you can create a package locally without it.
2718

2819
## R and RStudio
2920

@@ -37,11 +28,11 @@ Download the pre-compiled binary for your OS from https://cloud.r-project.org/ a
3728

3829
**For Windows**
3930

40-
Click "Download R for Windows", then "base", then "Download R-4.5.0 for Windows". This will download an `.exe` file; once downloaded, open to start the installation.
31+
Click "Download R for Windows", then "base", then "Download R-4.6.0 for Windows". This will download an `.exe` file; once downloaded, open to start the installation.
4132

4233
**For Mac**
4334

44-
Click "Download R for macOS", then "R-4.5.0-arm64.pkg" (the first option) to download the installer for Macs with **Apple Silicon** chips or "R-4.5.0-x86_64.pkg" (the second option) to download the installer for Macs with **Intel** chips. Run the installer to complete installation.
35+
Click "Download R for macOS", then "R-4.6.0-arm64.pkg" (the first option) to download the installer for Macs with **Apple Silicon** chips or "R-4.6.0-x86_64.pkg" (the second option) to download the installer for Macs with **Intel** chips. Run the installer to complete installation.
4536

4637
**For Linux**
4738

@@ -63,7 +54,7 @@ Download the relevant installer for your OS listed under "Installers for Support
6354

6455
### Development Tools
6556

66-
Some additional tools may be required to compile R packages from source.
57+
Some additional tools are required to compile R packages from source, which is a necessary part of the package development process. These tools are not part of a typical R/RStudio setup so please follow the steps below to install them.
6758

6859
**For Windows with no admin rights**
6960

@@ -96,3 +87,16 @@ If you installed `r-base-dev`, when installing R, you should have all you need
9687
to build packages from source. Otherwise return to the instructions for
9788
installing R for your distribution and follow the instructions there to install
9889
the additional tools.
90+
91+
## git and GitHub
92+
93+
Although there will be some time dedicated to this in the workshop, it would be advantageous if you already have:
94+
95+
- `git` installed on your computer. See <https://git-scm.com/book/en/v2/Getting-Started-Installing-Git>
96+
- a [GitHub](https://github.com) account
97+
- a GitHub PAT configured to work with RStudio -- the vignette from the usethis package on [Managing Git(Hub) Credentials](https://usethis.r-lib.org/articles/git-credentials.html) goes through this.
98+
99+
[Happy Git and GitHub for the useR](https://happygitwithr.com/) is an excellent resource for troubleshooting git related issues and checking that your setup works.
100+
101+
Whilst git/GitHub isn't essential for package development, it is best practice and we will be making use of GitHub features during the course, e.g. publishing a package documentation website using GitHub pages. However, you can create a package locally without it.
102+

0 commit comments

Comments
 (0)