To cite gittargets in publications use:

Landau WM (2021). gittargets: Version Control for the Targets Package. https://docs.ropensci.org/gittargets/, https://github.com/ropensci/gittargets.

Corresponding BibTeX entry:

  @Manual{,
    title = {gittargets: Version Control for the Targets Package},
    author = {William Michael Landau},
    note = {https://docs.ropensci.org/gittargets/,
      https://github.com/ropensci/gittargets},
    year = {2021},
  }