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_before_cache(from, to)

Arguments

from

incoming path

to

the outgoing path

Value

TRUE if successful

Examples

M <- BiocFileCache_database(
    source = tempfile(),
    resource_name = "example",
    bfc_fun = unzip_before_cache
)