makeRepo(pkgs, path, repos = getOption("repos"), type = "source",
Rversion = getRversion(), download = FALSE, writePACKAGES = TRUE)
getRversion()
makeLibrary(pkgs, path, type = "source")
download.packages
type
is not "source"write_PACKAGES
to update the repository PACKAGES file
# Make repo for source and win.binary
makeRepo(pkgList, path=pth, repos=revolution, download=TRUE, writePACKAGES=TRUE, tyavailable.packages
makeRepo
creates a repository, similar in structure to CRAN. It optionally updates the PACKAGES file. If done correctly, it is possible to use this folder as a repository, i.e. it will support functions like install.packages
.
The function makeLibrary
downloads the packages into a single folder, i.e. similar to a library on a machine.
Uses download.packages
and write_PACKAGES