From e1feca3e0b2c0df1c71b539d6374940a34c28542 Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Thu, 24 May 2018 09:48:18 +0100 Subject: [PATCH] Improve Setup instructions for R Previous instructions fail due trying to use CRAN without setting a mirror. Close swcarpentry/lesson-example#208 --- setup.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.md b/setup.md index ae839b0..adf8846 100644 --- a/setup.md +++ b/setup.md @@ -181,9 +181,10 @@ you must install the software described below. (and this example lesson). The best way to install these packages is to open an R terminal and type: ``` - > install.packages('knitr', dependencies = TRUE) - > install.packages('stringr', dependencies = TRUE) - > install.packages('checkpoint', dependencies = TRUE) + > install.packages('knitr', repos = 'https://', dependencies = TRUE) + > install.packages('stringr', repos = 'https://cran.rstudio.com', dependencies = TRUE) + > install.packages('checkpoint', repos = 'https://cran.rstudio.com', dependencies = TRUE) + > install.packages('ggplot2', repos = 'https://cran.rstudio.com', dependencies = TRUE) ``` If you want to run `bin/lesson_check.py` (which is invoked by `make lesson-check`) -- GitLab