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.3
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-02-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 gmail.com>
BugReports: https://github.com/ropensci/gittargets/issues
License: MIT + file LICENSE
URL: https://docs.ropensci.org/gittargets/, https://github.com/ropensci/gittargets
NeedsCompilation: no
SystemRequirements: Git (>= 2.0.0)
Language: en-US
Citation: gittargets citation info
Materials: NEWS
CRAN checks: gittargets results

Documentation:

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

Downloads:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gittargets to link to this page.