gittargets: Data Version Control for the Targets Package

Pipelines with the 'targets' R package (2021, <doi:10.21105/joss.02959>) skip steps that are up to already date. Although this behavior reduces the runtime of subsequent runs, it comes at the cost of overwriting previous results. So if the pipeline source code is under version control, and if you revert to a previous commit or branch, the data will no longer be up to date with the code you just checked out. Ordinarily, you would need to rerun the pipeline in order to recover the targets you had before. However, 'gittargets' preserves historical output, creating version control snapshots of data store. Each data snapshot remembers the contemporaneous Git commit of the pipeline source code, so you can recover the right data when you navigate the Git history. In other words, 'gittargets' makes it possible to switch commits or branches without invalidating the pipeline. You can simply check out the up-to-date targets from the past instead of taking the time to recompute them from scratch.

Version: 0.0.1
Depends: R (≥ 3.5.0)
Imports: 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: 2022-01-13
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 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.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gittargets_0.0.1.tgz, r-release (x86_64): gittargets_0.0.1.tgz, r-oldrel: not available


Please use the canonical form to link to this page.