Simple Git Client for R
Overview
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.
- Add
https.backendandssh.backendtolibgit2_config()(when available) - MacOS: fix hangs in fetch by using OpenSSL instead of SecureChannel.
From NEWS.md in the release
Install
Health
- 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
Documentation
- 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%
- gert HTML
Downloads
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-21
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-03-03Pull request: opened by its own accountCommits: 1 by its own account · at least 1 crediting it in the message
- Claude Codefirst seen on or before 2026-03-23Commits: at least 1 crediting it in the message
- Claude CodePull requests: 1 from outside contributors, first on 2026-10-08, 1 from forks
- Claude Sonnet 5.51 commit · Oct 2026
Dependencies
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.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.5.0Latest
- 2.4.12026-08-19 · diff ↗
- 2.4.02026-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 - RR 4.6.0 released · 2026-04-24
- 2.3.12026-01-12 · diff ↗
- 2.3.02026-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.02025-11-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.1.52025-03-25 · diff ↗
- 2.1.42024-10-14 · diff ↗
- 2.1.32024-10-13 · diff ↗
- 2.1.22024-09-20 · diff ↗
- 2.1.12024-08-16 · diff ↗
- 2.1.02024-07-19 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.0.12023-12-04 · diff ↗
Show 30 earlier eventsHide 30 earlier events
- 2.0.02023-09-26 · diff ↗
- 1.9.3
- RR 4.3.0 released · 2023-04-21
- 1.9.22022-12-06 · diff ↗
- 1.9.12022-10-05 · diff ↗
- 1.9.02022-09-15 · diff ↗
- 1.8.02022-09-06 · diff ↗
- 1.7.12022-08-18 · diff ↗
- 1.7.02022-08-07 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.6.02022-03-29 · diff ↗
- 1.5.02022-01-03 · diff ↗
- 1.4.32021-11-11 · diff ↗
- 1.4.22021-11-03 · diff ↗
- 1.4.12021-09-16 · diff ↗
- 1.4.0
- 1.3.22021-08-16 · diff ↗
- 1.3.12021-06-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.3.02021-03-29 · diff ↗
- 1.2.0
- 1.1.02021-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.22020-11-12 · diff ↗
- 1.0.12020-10-14 · diff ↗
- 1.0.02020-10-08 · diff ↗ ·
removed 2 exports
git_refspecs, git_resetadded 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 - RR 4.0.0 released · 2020-04-24
- 0.32019-10-29 · diff ↗
- 0.2
- 0.12019-06-19
- RR 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")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.
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.