Skip to content

Commit

Permalink
ensure <Date> in CITATION
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed May 31, 2024
1 parent 75031dd commit 7c65ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (length(author)) {
if (is.null(meta$Date)) {
date <- format(Sys.Date(), "%Y")
} else {
date <- format(meta$Date, "%Y")
date <- format(as.Date(meta$Date), "%Y")
}

bibentry(
Expand All @@ -20,5 +20,5 @@ bibentry(
author = author,
year = date,
doi = "10.5281/zenodo.10471458",
url = meta$URL
url = "https://epiverse-trace.github.io/simulist/"
)

0 comments on commit 7c65ad7

Please sign in to comment.