Skip to content

Commit

Permalink
Fix code syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Jan 10, 2024
1 parent 217a236 commit fb417c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if (length(author)) {
}, aar)
}

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

Expand All @@ -20,5 +20,5 @@ bibentry(
author = author,
year = date,
doi = "10.5281/zenodo.10471458",
url = meta$URL[[1]]
url = meta$URL
)

0 comments on commit fb417c8

Please sign in to comment.