Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Use proper ways of getting Date and package version in CITATION
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Jul 19, 2018
1 parent 309d772 commit 6a05be2
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 @@ -21,8 +21,8 @@ citEntry(
"DOI: 10.21105/joss.00411")
)

year <- sub("-.*", "", packageDate("bomrang"))
note <- sprintf("R package version %s", packageVersion("bomrang"))
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

citEntry(
entry = "Manual",
Expand Down

0 comments on commit 6a05be2

Please sign in to comment.