Skip to content

Commit 32ea29a

Browse files
committed
add installation spoiler + fix
1 parent 5402f04 commit 32ea29a

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

episodes/modelling-interventions.Rmd

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,24 @@ library(epidemics)
2828
Learners should also familiarise themselves with following concept dependencies before working through this tutorial:
2929

3030
**Outbreak response** : [Intervention types](https://www.cdc.gov/nonpharmaceutical-interventions/).
31+
32+
**R packages installed**: `{epidemics}`, `{socialmixr}`, `{scales}`, `{tidyverse}`.
33+
3134
:::::::::::::::::::::::::::::::::
3235

36+
:::::::::: spoiler
37+
38+
Install packages if their are not already installed
39+
40+
```r
41+
if (!base::require("pak")) install.packages("pak")
42+
pak::pak(c("epiverse-trace/epidemics", "socialmixr", "scales", "tidyverse"))
43+
```
44+
45+
If you have any error message,
46+
go to the [main setup page](../learners/setup.md#software-setup).
47+
48+
::::::::::
3349

3450
## Introduction
3551

episodes/simulating-transmission.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Learners should familiarise themselves with following concept dependencies befor
3737

3838
**Epidemic theory** : [Transmission](https://doi.org/10.1155/2011/267049), [Reproduction number](https://doi.org/10.3201/eid2501.171901).
3939

40-
**R packages installed**: `{epidemics}`, `{socialmixr}`, `{tidyverse}`.
40+
**R packages installed**: `{epidemics}`, `{socialmixr}`, `{scales}`, `{tidyverse}`.
4141

4242
:::::::::::::::::::::::::::::::::
4343

0 commit comments

Comments
 (0)