Track data files of a given pattern or location
pb_track(glob = NULL, repo_root = usethis::proj_get())
| glob | vector of file names and/or glob pattern (e.g. |
|---|---|
| repo_root | repository root, will be guessed by |
list of tracked files (invisibly)
Note: tracked patterns are simply written to .pbattributes
(analogous to .gitattributes in git-lfs.) You can also edit this
file manually. You will probably want to check in .psattributes to
as to version control., with git add .psattributes. Note that
tracked file patterns will also be added to .gitignore.
# NOT RUN { ## Track all .csv and .tsv files pb_track(c("*.tsv", "*.tsv.gz")) # }