Displaying 1 result from an estimated 1 matches for "write_packages_wrapper".
2012 May 08
1
what folder to run write_PACKAGES in?
...following should work.
I dropped packages in the right version folders, and I wrote a script
that goes separately to each version number folder and runs
write_PACKAGES.
### Researchers can upload
### packages into the approrpriate folder.
### Administratively, we schedule this run run every night
write_PACKAGES_wrapper <- function(local.repos) {
require(tools)
rversions <- dir(path = paste(local.repos,
"/bin/windows/contrib", sep=""), full.names = TRUE)
for (i in rversions) write_PACKAGES(dir = i, subdirs=TRUE,
type="win.binary")
#repeat
rversions <- dir(...