Cache file with no changes using BiocFileCache
Source:R/BiocFileCache_database_helpers.R
cache_as_is.Rd
This helper function is for use with BiocFileCache
objects. Using it will
copy the file directly to the cache without making any changes.
Examples
M <- BiocFileCache_database(
source = tempfile(),
resource_name = "example",
bfc_fun = cache_as_is
)