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: PA1_template.Rmd
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,11 @@ if (!require(dplyr)) install.packages("dplyr")
49
49
library(dplyr)
50
50
```
51
51
52
+
NOTE:
53
+
54
+
Installing packages by means of R Markdown (`knitr` document) is not advised. The consensus seems to be that users should manage their own package library. We should assume that people know how to install a missing package. Here we've opted to download and install the package _only_ if it's necessary. Arguably a number of users might have dplyr installed / loaded already. See this [resource](https://stackoverflow.com/questions/33969024/install-packages-fails-in-knitr-document-trying-to-use-cran-without-setting-a) for more on the subject.
0 commit comments