Download remotely stored data via pb_download.
get_data(
fname,
repo = "neurogenomics/MSTExplorer",
save_dir = KGExplorer::cache_dir(package = "MSTExplorer"),
overwrite = TRUE,
tag = "latest",
check = FALSE,
...
)
Repository name in format "owner/repo". Defaults to guess_repo()
.
Directory to save data to.
Should any local files of the same name be overwritten?
default TRUE
.
tag for the GitHub release to which this data should be attached.
Arguments passed on to piggyback::pb_download
file
name or vector of names of files to be downloaded. If NULL
,
all assets attached to the release will be downloaded.
dest
name of vector of names of where file should be downloaded.
Can be a directory or a list of filenames the same length as file
vector. Any directories in the path provided must already exist.
ignore
a list of files to ignore (if downloading "all" because
file=NULL
).
use_timestamps
DEPRECATED.
show_progress
logical, show a progress bar be shown for uploading?
Defaults to [interactive()]
- can also set globally with options("piggyback.verbose")
.token
GitHub authentication token, see [gh::gh_token()]