Skip to content

Commit

Permalink
correcting shift_dates name
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed Mar 6, 2024
1 parent eb0a732 commit e5554d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/shift_dates.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' \code{\link{yday_366}}: A helper function to calculate day of the year for leap years.
#'
#' @importFrom lubridate yday
shift_dates1 <- function(data, date, s_start_doy, doy_shift_name = "s_doy", year_shift_name = "s_year"){
shift_dates <- function(data, date, s_start_doy, doy_shift_name = "s_doy", year_shift_name = "s_year"){
# Calculate day of the year for leap years (366 days)
doy <- yday_366(data[[date]])

Expand Down

0 comments on commit e5554d1

Please sign in to comment.