I actually did it first with the checkpoint function.
I just ran it again.
> Revo.version
_
major 3
minor 2.1
build id 45
> library(checkpoint)
> getOption('repos')
CRAN
"http://mran.revolutionanalytics.com/snapshot/2015-07-20"
> checkpoint('2015-07-20')
Scanning for packages used in this project
|====================================================================| 100%
- Discovered 11 packages
Installing packages used in this project
- Installing ‘RODBC’
Package which is only available in source form, and may need
compilation of C/C++/Fortran: ‘RODBC’
Do you want to attempt to install these from sources?
y/n: n
checkpoint process complete
---
Warning message:
In value[[3L]](cond) : Unable to reach MRAN: cannot open the connection
> library(ggExtra)
Error in library(ggExtra) : there is no package called ‘ggExtra’
I also get a warning message about not reaching MRAN.
In my Rmd file, there is a call for ggExtra
library(ggExtra).
I ran installed.packages()
ggExtra is not returned.
??
Nathan
You can install packages from a current version of CRAN, or any MRAN snapshot. I'd like to be sure you have the latest version of checkpoint, 0.3.10.
Try this to update checkpoint
to the current version on CRAN:
install.packages("checkpoint", repos = c(CRAN = "cran.revolutionanalytics.com"))
library("checkpoint")
sessionInfo()
We'll investigate further on our end as well.
Thank you,
Josée
library(checkpoint)# Install ggExtra from latest CRAN mirrorinstall.packages("ggExtra", repos = "https://cran.revolutionanalytics.com/")library(ggExtra)# Confirm you've loaded version 0.2.0 of that package.sessionInfo()