Created
December 26, 2017 06:15
-
-
Save goddoe/9024029c83bc417c0d35c110c59c9411 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(miniCRAN) | |
# Create local cran directory | |
repo <- 'http://cran.nexr.com' | |
dir.create(pth <- file.path('local_cran')) | |
# Sync All Available Repositories | |
avail_pkgs <- pkgAvail(repos= repo, type='source')[,1] | |
makeRepo(avail_pkgs, path=pth, repos=repo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment