Skip to content

Commit 8c85bd7

Browse files
committed
Fix CRAN checks warnings
1 parent 15a75b1 commit 8c85bd7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# linelist (development version)
22

3+
## Minor change
4+
5+
* Convert `meta$Date` in CITATION to `Date` before attempting to run `format()` (@Bisaloo, #125)
6+
37
# linelist 1.1.2
48

59
## Minor change

inst/CITATION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (length(author)) {
1111
if (is.null(meta$Date)) {
1212
date <- format(Sys.Date(), "%Y")
1313
} else {
14-
date <- format(meta$Date, "%Y")
14+
date <- format(as.Date(meta$Date), "%Y")
1515
}
1616

1717
bibentry(

0 commit comments

Comments
 (0)