You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prerequisites.qmd
+17-13Lines changed: 17 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Prerequisites
3
3
---
4
4
5
-
*Last updated: May 11th, 2026*
5
+
*Last updated: May 12th, 2026*
6
6
7
7
## Prior knowledge
8
8
@@ -15,15 +15,6 @@ Two of the modules from the Warwick-Stats-Resources R Foundations course covers
15
15
-[Introduction to R and RStudio](https://warwick-stats-resources.github.io/r-foundations/content/01-intro/)
16
16
-[Programming in R](https://warwick-stats-resources.github.io/r-foundations/content/03-programming/)
17
17
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.
27
18
28
19
## R and RStudio
29
20
@@ -37,11 +28,11 @@ Download the pre-compiled binary for your OS from https://cloud.r-project.org/ a
37
28
38
29
**For Windows**
39
30
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.
41
32
42
33
**For Mac**
43
34
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.
45
36
46
37
**For Linux**
47
38
@@ -63,7 +54,7 @@ Download the relevant installer for your OS listed under "Installers for Support
63
54
64
55
### Development Tools
65
56
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.
67
58
68
59
**For Windows with no admin rights**
69
60
@@ -96,3 +87,16 @@ If you installed `r-base-dev`, when installing R, you should have all you need
96
87
to build packages from source. Otherwise return to the instructions for
97
88
installing R for your distribution and follow the instructions there to install
98
89
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.
0 commit comments