Download any tracked datasets piggybacking on GitHub. Files identical on local and remote versions will not be transferred. Otherwise, assumes GitHub version should overwrite local versions.
pb_pull(repo = guess_repo(), tag = "latest", overwrite = TRUE, manifest = ".manifest.json")
repo | Name of the repo on GitHub ( |
---|---|
tag | name of release/tag on GitHub to which data assets will be attached. Default is to use the latest available release. |
overwrite | should existing files be overwritten when hashes do
not match? default |
manifest | name of the local manifest file. Note: A leading dot (i.e. indicating a hidden file) in the manifest name will be removed from the name used on the GitHub asset list. |
Will only download tracked files, as identified by the manifest
attached to the requested release on GitHub. Add files to tracking with
pb_track
first and push to GitHub with pb_push
.
# NOT RUN { pb_pull() # }