Skip to contents

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.

Usage

.unzip(from, to)

Arguments

from

incoming path

to

the outgoing path

Value

TRUE if successful

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