Skip to content

Commit

Permalink
update date
Browse files Browse the repository at this point in the history
  • Loading branch information
jpiaskowski committed Aug 27, 2023
1 parent eea71df commit 59eb4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Agriculture.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Agriculture
topic: Agricultural Science
maintainer: Julia Piaskowski, Adam Sparks, Janet Williams
email: [email protected]
version: 2023-04-18
version: 2023-08-27
source: https://github.com/cran-task-views/Agriculture/
---

Expand Down
2 changes: 1 addition & 1 deletion check.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ date_node <- xml_find_all(xml, "//meta[@name='DC.issued']")
sprintf("Today is %s", Sys.Date())
sprintf("This was last updated %s", xml_attr(date_node, "content"))
if (Sys.Date() != xml_attr(date_node, "content")) {
warning("Don't forget to update the version", call. = FALSE, immediate. = TRUE)
warning("Don't forget to update the version to today's date", call. = FALSE, immediate. = TRUE)
}


Expand Down

0 comments on commit 59eb4c9

Please sign in to comment.