Skip to content

Simple Git Client for R

22packages dependsuggested by 13
2.6Mdownloads / year
70.4%test coverage
13/13flavors OK

Overview

About

Simple git client for R based on 'libgit2' https://libgit2.org with support for SSH and HTTPS remotes. All functions in 'gert' use basic R data types (such as vectors and data-frames) for their arguments and return values. User credentials are shared with command line 'git' through the git-credential store and ssh keys stored on disk or ssh-agent.

Changes in 2.5.0
  • Add https.backend and ssh.backend to libgit2_config() (when available)
  • MacOS: fix hangs in fetch by using OpenSSL instead of SecureChannel.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-21
Show 3 earlier changesHide 3 earlier changes
  • ERROR12 OK, 1 ERROR2026-05-20
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.5.0
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 2.5.0Citation fileNoWebsiteYes · pkgdown
Help pages
25 (1 internal)includes a package overview page
Examples that run
100%12 run in a plain check (4 of them under a condition)
Exported functions with examples
50%
Documented parameters
100%
Return-value docs
46%
Help pages citing references
0%
Vignettes (1)

Downloads

2.6M
CRAN downloads in the past year
Rank #235 · ~7.2K/day · ~218.9K/mo
Daily download trend is not available in this view yet.
176.3K30 days
573.2K90 days
2.6M1 year
Compare downloads with other packages →
Also on145K r2u14 autocran246.4K conda_forge2.6K c2d4u

Repository

r-lib/gert ↗Organization: r-lib
162Stars
40Forks
29Open issues
2Open PRs
21Releases
713Commits
27Commit identities
713 commits · Last activity 2026-10-21 · 0% stars, 30d · Default branch at 2.5.0.9000, ahead of CRAN 2.5.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
82%
Median days to close, 50 most recently updated closed issues
1,176
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-08 · 1562026-07-07 · 162
PracticesBeta

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

Checks run against github.com/r-lib/gert on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)

GitHub Pages site last deployed 2026-10-21

Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-03-03
    Pull request: opened by its own account
    Commits: 1 by its own account · at least 1 crediting it in the message
  • Claude Codefirst seen on or before 2026-03-23
    Commits: at least 1 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 1 from outside contributors, first on 2026-10-08, 1 from forks
Models named in its commits
  • Claude Sonnet 5.51 commit · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing gert adds 9 packages (7 with compiled code, 4.3 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, curl 714 KB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
22direct
163indirect
Imports 22
Suggested by 13
Show all 35 packagesHide all 35 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1 (2019)
Author · added in 2.4.0
Contributor · added in 1.0.0
Releases (38)

Pick two releases to compare their code metrics.

  • 2.5.0Latest
    record
    2026-10-14 · current release · diff ↗
  • 2.4.1
    record
    2026-08-19 · diff ↗
  • 2.4.0
    record
    2026-07-22 · diff ↗ ·
    added 8 exports
    git_branch_switch, git_config_get, git_config_global_get, git_config_global_unset, git_config_local_get, git_config_unset, git_restore, git_revert
  • R
    R 4.6.0 released · 2026-04-24
  • 2.3.1
    record
    2026-01-12 · diff ↗
  • 2.3.0
    record
    2026-01-08 · diff ↗ ·
    added 11 exports
    git_worktree_add, git_worktree_exists, git_worktree_is_locked, git_worktree_is_prunable, git_worktree_is_valid, git_worktree_list, git_worktree_lock, git_worktree_path, git_worktree_prune, git_worktree_remove, git_worktree_unlock
  • 2.2.0
    record
    2025-11-16 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.5
    record
    2025-03-25 · diff ↗
  • 2.1.4
    record
    2024-10-14 · diff ↗
  • 2.1.3
    record
    2024-10-13 · diff ↗
  • 2.1.2
    record
    2024-09-20 · diff ↗
  • 2.1.1
    record
    2024-08-16 · diff ↗
  • 2.1.0
    record
    2024-07-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.1
    record
    2023-12-04 · diff ↗
Show 30 earlier eventsHide 30 earlier events
  • 2.0.0
    record
    2023-09-26 · diff ↗
  • 1.9.3
    record
    2023-08-07 · diff ↗ ·
    added 2 exports
    git_commit_stats, git_ignore_path_is_ignored
  • R
    R 4.3.0 released · 2023-04-21
  • 1.9.2
    record
    2022-12-06 · diff ↗
  • 1.9.1
    record
    2022-10-05 · diff ↗
  • 1.9.0
    record
    2022-09-15 · diff ↗
  • 1.8.0
    record
    2022-09-06 · diff ↗
  • 1.7.1
    record
    2022-08-18 · diff ↗
  • 1.7.0
    record
    2022-08-07 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.6.0
    record
    2022-03-29 · diff ↗
  • 1.5.0
    record
    2022-01-03 · diff ↗
  • 1.4.3
    record
    2021-11-11 · diff ↗
  • 1.4.2
    record
    2021-11-03 · diff ↗
  • 1.4.1
    record
    2021-09-16 · diff ↗
  • 1.4.0
    record
    2021-09-15 · diff ↗ ·
    added 1 export
    git_branch_move
  • 1.3.2
    record
    2021-08-16 · diff ↗
  • 1.3.1
    record
    2021-06-23 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.0
    record
    2021-03-29 · diff ↗
  • 1.2.0
    record
    2021-02-14 · diff ↗ ·
    added 1 export
    git_stat_files
  • 1.1.0
    record
    2021-01-25 · diff ↗ ·
    added 6 exports
    git_submodule_add, git_submodule_fetch, git_submodule_info, git_submodule_init, git_submodule_list, git_submodule_set_to
  • 1.0.2
    record
    2020-11-12 · diff ↗
  • 1.0.1
    record
    2020-10-14 · diff ↗
  • 1.0.0
    record
    2020-10-08 · diff ↗ ·
    removed 2 exports
    git_refspecs, git_reset
    added 29 exports
    git_ahead_behind, git_archive_zip, git_branch, git_branch_exists, git_cherry_pick, git_commit_descendant_of, git_commit_id, git_commit_info, git_conflicts, git_diff, git_diff_patch, git_fetch_pull_requests, git_merge, git_merge_abort, git_merge_analysis, git_merge_find_base, git_merge_stage_only, git_rebase_commit, git_rebase_list, git_remote_info, git_remote_ls, git_remote_refspecs, git_remote_set_pushurl, git_remote_set_url, git_reset_hard, git_reset_mixed, git_reset_soft, git_signature_parse, user_is_configured
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3
    record
    2019-10-29 · diff ↗
  • 0.2
    record
    2019-07-22 · diff ↗ ·
    added 3 exports
    git_branch_set_upstream, git_checkout_pull_request, git_find
  • 0.1
    record
    2019-06-19
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-06-19
Total releases
38 / 7 yrs
License
MIT + file LICENSE OSI
Download size
138 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gert")
Ooms, J., Bryan, J., & Salmon, M. (2026). gert: Simple Git Client for R (Version 2.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.gert

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 gert version 2.5.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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