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")

Arguments

repo

Name of the repo on GitHub (owner/repo, i.e. cboettig/piggyback). By default will guess the current repository's GitHub origin.

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 TRUE.

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.

Details

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.

Examples

# NOT RUN {
pb_pull()
# }