Skip to content

Commit

Permalink
Add more info
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Jan 9, 2024
1 parent 29c7662 commit 62e2802
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ if (length(author)) {
}, aar)
}

if (is.null(meta$Date))
date <- format(Sys.Date(), "%Y")
else {
date <- format(meta$Date, "%Y")
}

bibentry(
bibtype = "Manual",
title = paste0(meta$Package, ": ", gsub("[[:space:]]+", " ", meta$Title)),
author = author,
year = format(meta$Date, "%Y"),
doi = "10.5281/zenodo.10471458"
year = date,
doi = "10.5281/zenodo.10471458",
url = meta$URL[[1]]
)

0 comments on commit 62e2802

Please sign in to comment.