Skip to content

Commit

Permalink
update installation code for rtools (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
avallecam committed May 4, 2024
1 parent 6f5b73e commit 94390f0
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions learners/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,31 @@ These installation steps could ask you `? Do you want to continue (Y/n)` write `

### do you get an error with EpiNow2?

Windows users will need a working installation of `Rtools` in order to build the package from source. `Rtools` is not an R package, but a software you need to download and install. We suggest you to follow [these steps](http://jtleek.com/modules/01_DataScientistToolbox/02_10_rtools/#1):
Windows users will need a working installation of `Rtools` in order to build the package from source. `Rtools` is not an R package, but a software you need to download and install. We suggest you to follow:

1. Download the `Rtools` installer from <https://cran.r-project.org/bin/windows/Rtools/>
2. Install `Rtools` with default selections
<!-- reference [these steps](http://jtleek.com/modules/01_DataScientistToolbox/02_10_rtools/#1) -->

To verify your installation follow these two steps:
1. **Verify `Rtools` installation**. You can do so by using Windows search across your system. Optionally, you can use `{devtools}` running:

3. Install `{devtools}` --> `install.packages("devtools")`
4. Verify Rtools installation with --> `devtools::find_rtools()`
```r
if(!require("devtools")) install.packages("devtools")
devtools::find_rtools()
```

If the result is `FALSE`, then you should do step 2.

2. **Install `Rtools`**. Download the `Rtools` installer from <https://cran.r-project.org/bin/windows/Rtools/>. Install with default selections.

3. **Verify `Rtools` installation**. Again, we can use `{devtools}`:

```r
if(!require("devtools")) install.packages("devtools")
devtools::find_rtools()
```

:::::::::::::::::::::::::::::


::::::::::::::::::::::::::::: spoiler

### do you get an error with epiverse-trace packages?
Expand Down

0 comments on commit 94390f0

Please sign in to comment.