cacheUrl | R Documentation |
Download and cache a file
cacheUrl(url, pkg = "pipette", update = FALSE, ask = FALSE, verbose = TRUE)
url |
|
pkg |
|
update |
|
ask |
|
verbose |
|
Caching requires BiocFileCache and tools packages to be installed. If BiocFileCache is not installed, URL will be downloaded as a temporary file instead.
character(1)
.
Cached file path on disk.
Updated 2023-09-28.
BiocFileCache::bfcinfo()
.
url <- AcidBase::pasteUrl(pipetteTestsUrl, "biocfilecache-test.txt")
file <- cacheUrl(url)
print(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.