gittargets: Data Version Control for the Targets Package

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.

Version: 0.0.7
Depends: R (≥ 3.5.0)
Imports: callr (≥ 3.0.0), cli (≥ 3.1.0), data.table (≥ 1.12.8), gert (≥ 1.0.0), processx (≥ 3.0.0), stats, targets (≥ 0.6.0), tibble (≥ 3.0.0), utils, uuid (≥ 0.1.4)
Suggests: knitr (≥ 1.30), markdown (≥ 1.1), rmarkdown (≥ 2.4), testthat (≥ 3.0.0)
Published: 2023-12-04
DOI: 10.32614/CRAN.package.gittargets
Author: William Michael Landau ORCID iD [aut, cre], Saras Windecker [rev], David Neuzerling [rev], Eli Lilly and Company [cph]
Maintainer: William Michael Landau <will.landau.oss at>
License: MIT + file LICENSE
NeedsCompilation: no
SystemRequirements: Git (>= 2.0.0)
Language: en-US
Citation: gittargets citation info
Materials: NEWS
CRAN checks: gittargets results


Reference manual: gittargets.pdf
Vignettes: Tutorial: Git data backend


Package source: gittargets_0.0.7.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gittargets_0.0.7.tgz, r-oldrel (arm64): gittargets_0.0.7.tgz, r-release (x86_64): gittargets_0.0.7.tgz, r-oldrel (x86_64): gittargets_0.0.7.tgz
Old sources: gittargets archive


Please use the canonical form to link to this page.