Data Version Control for the Targets Package
Overview
In computationally demanding data analysis pipelines, the 'targets' R package (2021, doi:10.21105/joss.02959) maintains an up-to-date set of results while skipping tasks that do not need to rerun. This process increases speed and increases trust in the final end product. However, it also overwrites old output with new output, and past results disappear by default. To preserve historical output, the 'gittargets' package captures version-controlled snapshots of the data store, and each snapshot links to the underlying commit of the source code. That way, when the user rolls back the code to a previous branch or commit, 'gittargets' can recover the data contemporaneous with that commit so that all targets remain up to date.
- Migrate tests to
targets>= 1.3.2.9004 progress statuses ("completed" instead of "built", "dispatched" instead of "started").
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 90%9 run in a plain check (7 of them under a condition) · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 89%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
14 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ropensci/gittargets on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2022-01-12
Show all practicesHide 2 practices
Dependencies
Installing gittargets adds 40 packages (25 with compiled code, 21 MB of source tarballs). Heaviest: data.table 5.7 MB, igraph 4.8 MB, openssl 1.1 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.0.7Latest
- RR 4.3.0 released · 2023-04-21
- 0.0.62023-02-09 · diff ↗
- 0.0.52022-09-06 · diff ↗
- 0.0.42022-08-05 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.0.32022-02-13 · diff ↗
- 0.0.12022-01-13
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-01-13
- Total releases
- 6 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 378 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("gittargets")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.