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.

Package details

AuthorWilliam Michael Landau [aut, cre] (<https://orcid.org/0000-0003-1878-3253>), Saras Windecker [rev], David Neuzerling [rev], Eli Lilly and Company [cph]
MaintainerWilliam Michael Landau <will.landau.oss@gmail.com>
LicenseMIT + file LICENSE
Version0.0.7
URL https://docs.ropensci.org/gittargets/ https://github.com/ropensci/gittargets
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gittargets")

Try the gittargets package in your browser

Any scripts or data that you put into this service are public.

gittargets documentation built on May 29, 2024, 4:25 a.m.