Package: gittargets 0.0.7.9000

William Michael Landau

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.

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

gittargets_0.0.7.9000.tar.gz
gittargets_0.0.7.9000.zip(r-4.6)gittargets_0.0.7.9000.zip(r-4.5)gittargets_0.0.7.9000.zip(r-4.4)
gittargets_0.0.7.9000.tgz(r-4.5-any)gittargets_0.0.7.9000.tgz(r-4.4-any)
gittargets_0.0.7.9000.tar.gz(r-4.6-any)gittargets_0.0.7.9000.tar.gz(r-4.5-any)
gittargets_0.0.7.9000.tgz(r-4.5-emscripten)gittargets_0.0.7.9000.tgz(r-4.4-emscripten)
gittargets.pdf |gittargets.html
gittargets/json (API)
NEWS

# Install 'gittargets' in R:
install.packages('gittargets', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #486

Bug tracker:https://github.com/ropensci/gittargets/issues

Pkgdown site:https://docs.ropensci.org

On CRAN:

Conda:

data-sciencedata-version-controldata-versioningreproducibilityreproducible-researchtargetsworkflow

6.02 score 88 stars 12 scripts 660 downloads 9 exports 42 dependencies

Last updated 12 months ago from:c678c41c0f (on main). Checks:11 OK. Indexed: yes.

TargetResultTotal time
linux-devel-x86_64OK140
pkgdown docsOK149
source / vignettesOK164
linux-release-x86_64OK137
macos-release-arm64OK105
macos-oldrel-arm64OK95
windows-develOK94
windows-releaseOK96
windows-oldrelOK90
wasm-releaseOK123
wasm-oldrelOK152

Exports:tar_git_checkouttar_git_inittar_git_logtar_git_oktar_git_snapshottar_git_statustar_git_status_codetar_git_status_datatar_git_status_targets

Dependencies:askpassbackportsbase64urlcallrclicodetoolscpp11credentialscurldata.tableevaluategertgluehighrigraphjsonliteknitrlatticelifecyclemagrittrMatrixopensslpillarpkgconfigprettyunitsprocessxpsR6rlangrstudioapisecretbasesystargetstibbletidyselectutf8uuidvctrswithrxfunyamlzip

Tutorial: Git data backend

Rendered fromgit.Rmdusingknitr::rmarkdownon Jun 28 2025.

Last update: 2023-02-09
Started: 2021-11-13