Skip to content

Commit

Permalink
end_season name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed Feb 9, 2024
1 parent eaf8a8b commit 9cb0553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/end_season.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ end_season <- function(data, date_time, station = NULL, year = NULL, rain = NULL
dplyr::first(.data[[date_time]])))
} else {
end_of_season <- end_of_season %>%
dplyr::summarise(end_season = ifelse(is.na(x=dplyr::first(wb)),
dplyr::summarise(end_season_doy = ifelse(is.na(x=dplyr::first(wb)),
NA,
dplyr::first(.data[[doy]])),
end_season_date = dplyr::if_else(is.na(x=dplyr::first(wb)),
Expand Down

0 comments on commit 9cb0553

Please sign in to comment.