Unzip file before caching with BiocFileCache_database
Source:R/BiocFileCache_database_helpers.R
dot-unzip.Rd
This helper function is for use with BiocFileCache_database()
objects.
Using it as the
bfc_fun
input for this object will unzip a downloaded resource into a
temporary folder before storing it in the cache.
Examples
M = BiocFileCache_database(
path = tempfile(),
resource_name = 'example',
bfc_fun=.unzip)
#> Error in BiocFileCache_database(path = tempfile(), resource_name = "example", bfc_fun = .unzip): argument "source" is missing, with no default