Skip to content

Commit 20ebbf5

Browse files
committed
minor: lint
1 parent 65e9b09 commit 20ebbf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/utils.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,10 @@ write_submission_file <- function(pred, forecast_reference_date, submission_dire
280280
#' Utility to get the reference date for a given date. This is the last day of
281281
#' the epiweek that the date falls in.
282282
get_forecast_reference_date <- function(date) {
283-
if (!is.Date(date)) {
283+
if (!lubridate::is.Date(date)) {
284284
date <- as.Date(date)
285285
}
286-
MMWRweek::MMWRweek2Date(epiyear(date), epiweek(date)) + 6
286+
MMWRweek::MMWRweek2Date(lubridate::epiyear(date), lubridate::epiweek(date)) + 6
287287
}
288288

289289
update_site <- function() {

0 commit comments

Comments
 (0)