Data Version Control for the Targets Package

In computationally demanding data analysis pipelines, the 'targets' R package (2021, ) 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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gittargets")

0.0.7 by William Michael Landau, 3 years ago


https://docs.ropensci.org/gittargets/, https://github.com/ropensci/gittargets


Report a bug at https://github.com/ropensci/gittargets/issues


Browse source code at https://github.com/cran/gittargets


Authors: William Michael Landau [aut, cre] , Saras Windecker [rev] , David Neuzerling [rev] , Eli Lilly and Company [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports callr, cli, data.table, gert, processx, stats, targets, tibble, utils, uuid

Suggests knitr, markdown, rmarkdown, testthat

System requirements: Git (>= 2.0.0)


See at CRAN