R Package 📦 to Work with the TFS (git) source control system in R 🌱
R Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build StatusCoverage Status

If you have/want to work with R using git repositories in TFS (either on-premises or via Visual Studio Online), this package saves you having to have Visual Studio (installed on your machine or online), and allows you directly manage git repositories within TFS.

The package leaves existing git source control functionality to other packages/ facilities.

Install tfsR

if (!require(devtools))
                         build_vignettes = TRUE)


You must have a username (often an email address or AD account) and password for connecting. That's basically it!

NB - you can now use public acces tokens.


  • The active components use a Team Project containing many git repositories - this means any backlogs etc that you might wish to use need to be implemented for the entire project. As such, if you want different backlogs and so forth, you will need to create projects via the GUI since no API command exists for the creation of projects.
  • This only works currently with basic authentication, OAuth2.0 may follow
  • getTFSProjects will only handle a single TFS URL at a time (httr restriction)
  • createTFSRepository and deleteTFSRepository will only handle a single repository at a time, to maintain consistency