https://github.com/yonicd/vcs
Remote repository file querying, structure inspection, script sourcing directly from R
https://github.com/yonicd/vcs
Last synced: about 1 month ago
JSON representation
Remote repository file querying, structure inspection, script sourcing directly from R
- Host: GitHub
- URL: https://github.com/yonicd/vcs
- Owner: yonicd
- License: other
- Created: 2017-06-08T03:02:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T12:31:42.000Z (over 4 years ago)
- Last Synced: 2025-01-03T10:51:33.398Z (about 2 months ago)
- Language: R
- Homepage:
- Size: 11.4 MB
- Stars: 12
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - yonicd/vcs - Remote repository file querying, structure inspection, script sourcing directly from R (R)
README
# vcs
vcs is a R package that allows users to gain control over their remote repositories on a version control system from within R.
## Installation
```r
devtools::install_github('metrumresearchgroup/vcs')
```## Command Line Utilities
### Functionalities that do not need a clone
- **grepr**: run recursive grep directly on local paths and remote branches
- **gsubr**: run recursive gsub directly on local paths
- **list_repos**: list repositories of a user in a version control repository
- **ls_remote**: list files on remote branches on a version control repository
- **setwd_remote**: replace inline script from local path to remote path
- **source_remote**: source script on remote branches, works for reading in data on remote and nested sourcing### Functionalities that clone or update a cloned repository
- **diff_head**: query the difference in files between current fetch and the HEAD of a repository
- **sparse_checkout**: create a sparse checkout of a repository on github/bitbucket/svn
- **update_depth**: if the git repository was checked out with a depth setting, use this function to update or cancel the depth setting