Closed cornejotux closed 6 years ago
Also:
install.packages("rrtools") Installing package into ‘C:/Users/cornejo/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘rrtools’ is not available (for R version 3.5.0)
It is in github:
devtools::install_github("benmarwick/rrtools")
Also, in windows this fails:
rrtools::use_compendium("sasap_training")
Error: 'sasap_training' is not a valid package name. It should: Contain only ASCII letters, numbers, and '.' Have at least two characters Start with a letter Not end with '.'
In my VM Windows: If I do "rrtools::use_compendium("sasaptraining")"
The commands fails and RStudio crashes.
uh oh. @amoeba if I'm correct, I don't think we ever got this far in the training. We sort of hand-waved this, but didn't live code it. The code ran fine for me. I would add the code to install this package in the chunk (remotes::install_github("benmarwick/rrtools"), but we should not include it as a pre-requisite
that matches my recollection @jeanetteclark. Also might be good to encourage the use of the remotes
package to install R packages from GitHub (and other places).
whats the advantage of remotes
over devtools
?
remotes doesn't install any dependencies when installed whereas devtools take forever to install because it has some that are slow to install
(so remotes installs fast)
updated training to include a commented out install call in that chunk
In chapter 4, numeral 4.6, it give an example of using "rrtools" to organize a directory for a standard reproducible research structure. Nevertheless, "rrtools" is not on the packages to install in Numeral 3.6.
Should I add it to get it installed?