Skip to content

git2r

0.36.2

Provides Access to Git Repositories

34packages depend
539Kdownloads / year
81.0%test coverage
8/13checks pass

Overview

About
Maintained by Stefan WidgrenFirst published 2015-02-1930 releasesCRAN page ↗GitHub ↗

Interface to the 'libgit2' library, which is a pure C implementation of the 'Git' core methods. Provides access to 'Git' repositories to extract data and running some basic 'Git' commands.

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 4.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.70
81.0%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
3%
Documented parameters
100%
Return-value docs
98%
References docs
0%

Downloads

539K
CRAN downloads in the past year
Rank #577 · ~1.5K/day · ~44.9K/mo
Daily download trend is not available in this view yet.
31.8K30 days
115.7K90 days
539K1 year
Compare downloads with other packages →
Also on8.6K r2u159 autocran36.2K conda_forge93 c2d4u

Repository

Repository
222Stars
61Forks
91Open issues
5Open PRs
32Releases
2,795Commits
32Contributors
libgit2libgit2-librarygitgit-clientrrstatsr-package
License GPL-2.0 · 2,795 commits · Last activity 2026-02-22 · 0% stars, 30d

Stars over time

2025-07-30 · 2202026-07-07 · 222

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/ropensci/git2r on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 4.0
Imports (2)
graphicsutils
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none

Code & Tests

People & History

People (11)
Maintainer (1)
Author, Maintainer · added in 0.35.0
Authors (1)
Author, Maintainer · added in 0.35.0
Contributors (10)
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Show 2 more contributors
Contributor · added in 0.35.0
Contributor · added in 0.35.0
Listed in earlier versions (1)
no longer listed · 0.6 to 0.33.0
Package Timeline

30 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.36.2Latest
    2025-03-29 · current release · diff ↗
  • 0.35.0
    2024-10-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.33.0
    2023-11-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.32.0
    2023-04-12 · diff ↗
  • 0.31.0
    2023-01-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.30.1
    2022-03-16 · diff ↗
  • 0.29.0
    2021-11-22 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.28.0
    2021-01-10 · diff ↗
  • 0.27.1
    2020-05-03 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 27 earlier events
  • 0.26.1
    2019-06-30 · diff ↗
  • 0.26.0
    2019-06-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.25.2
    2019-03-20 · diff ↗
  • 0.25.1
    2019-03-17 · diff ↗
  • 0.24.0
    2019-01-07 · diff ↗
  • 0.23.0
    2018-07-17 · diff ↗
  • 0.22.1
    2018-07-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.21.0
    2018-01-04 · diff ↗
  • 0.20.0
    2017-12-17 · diff ↗
  • 0.19.0
    2017-07-19 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.18.0
    2017-01-01 · diff ↗
  • 0.17.0
    2016-12-29 · diff ↗
  • 0.16.0
    2016-11-20 · diff ↗
  • 0.15.0
    2016-05-11 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.14.0
    2016-03-13 · diff ↗
  • 0.13.1
    2015-12-10 · diff ↗
  • 0.12.1
    2015-12-05 · diff ↗
  • 0.11.0
    2015-08-12 · diff ↗
  • 0.10.1
    2015-05-07 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.7
    2015-02-23 · diff ↗
  • 0.6
    2015-02-19
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-02-19
Total releases
30 / 11 yrs
License
GPL-2 OSI
Minimum R
≥ 4.0
Download size
234 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("git2r")
Widgren, S., Blischak, J., Bryan, J., Carbonetto, P., Chamberlain, S., Csardi, G., Hester, J., Jefferis, G., Ooms, J., Ram, K., & Rosendal, T. (2025). git2r: Provides Access to Git Repositories (Version 0.36.2) [Computer software]. https://doi.org/10.32614/CRAN.package.git2r

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for git2r version 0.36.2 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy