Skip to content

Commit

Permalink
Add CITATION file. Closes #229
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
  • Loading branch information
stewid committed Mar 18, 2016
1 parent b0b5a89 commit db751c6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions inst/CITATION
@@ -0,0 +1,19 @@
citHeader(paste0("See AUTHORS file for a list of all authors.\n",
"To cite git2r in publications, please use:"))

year <- "2016"
vers <- "0.14.0"
pkg.url <- "https://CRAN.R-project.org/package=git2r"

citEntry(entry = "Manual",
author = "Stefan Widgren and others",
title = "{git2r}: Provides Access to Git Repositories",
year = year,
note = paste0("R package version ", vers),
url = pkg.url,
textVersion =
paste(paste0("Widgren, S., et al. (", year, ")"),
"git2r: Provides Access to Git Repositories.",
paste0("R package version ", vers, "."),
paste0("URL ", pkg.url, "."))
)

0 comments on commit db751c6

Please sign in to comment.