Extract zip or tar archive files, possibly nested in other zip or tar archives.
extractFromArchive( archive, destinationPath = getOption("reproducible.destinationPath", dirname(archive)), neededFiles = NULL, extractedArchives = NULL, checkSums = NULL, needChecksums = 0, filesExtracted = character(), checkSumFilePath = character(), quick = FALSE, verbose = getOption("reproducible.verbose", 1), .tempPath, ... )
Character string giving the path of the archive
Character string giving the path where
Character string giving the name of the file(s) to be extracted.
Used internally to track archives that have been extracted from.
A checksums file, e.g., created by Checksums(..., write = TRUE)
A numeric, with
Used internally to track files that have been extracted.
The full path to the checksum.txt file
Numeric, -1 silent (where possible), 0 being very quiet,
1 showing more messaging, 2 being more messaging, etc.
Default is 1. Above 3 will output much more information about the internals of
Caching, which may help diagnose Caching challenges. Can set globally with an
Optional temporary path for internal file intermediate steps. Will be cleared on.exit from this function.
A character vector listing the paths of the extracted archives.