Skip to content
Remote repository file querying, structure inspection, script sourcing directly from R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore
.gitignore
DESCRIPTION
NAMESPACE
README.md

README.md

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

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
You can’t perform that action at this time.