Get paths/names of package files available in a directory
Usage
getPackageFilesToInstall(
package.dir = defaultPackageDir(),
packageNames = NULL,
filepattern = "",
full.names = TRUE,
dbg = FALSE,
warn = TRUE
)
Arguments
- package.dir
full path to directory containing the package files
- packageNames
optional vector of character containing the names of the packages to be installed. If NULL (default), all available packages in package.dir are installed,
- filepattern
pattern matching names of files to be considered. Default: "^kwb\..*\.zip$"
- full.names
if TRUE (default) the full paths to the package files are returned, else only the file names
- dbg
if
TRUE
(default) debug messages are shown- warn
if
TRUE
(default) warnings are given if no corresponding package files are found