Skip to content

Commit

Permalink
Merge pull request #167 from hoytpr/hoyt-setup
Browse files Browse the repository at this point in the history
Adding How to add R packages
  • Loading branch information
rgaiacs authored Apr 17, 2018
2 parents 0ae3756 + ffcafb4 commit 17cb754
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,12 @@ you must install the software described below.
We use [knitr][cran-knitr], [stringr][cran-stringr], and [checkpoint][cran-checkpoint]
to format lessons written in R Markdown,
so you will need to install these to build R lessons
(and this example lesson).
(and this example lesson). The best way to install these packages is to open an R window and type:
```
> install.packages('knitr', dependencies = TRUE)
> install.packages('stringer', dependencies = TRUE)
> install.packages('checkpoint', dependencies = TRUE)
```
If you want to run `bin/lesson_check.py` (which is invoked by `make lesson-check`)
you will need Jekyll (so that you have its Markdown parser, which is called Kramdown)
Expand Down

0 comments on commit 17cb754

Please sign in to comment.