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

Commit 6a05be2

Browse files
committed
Use proper ways of getting Date and package version in CITATION
1 parent 309d772 commit 6a05be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/CITATION

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ citEntry(
2121
"DOI: 10.21105/joss.00411")
2222
)
2323

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

2727
citEntry(
2828
entry = "Manual",

0 commit comments

Comments
 (0)