Skip to content

Commit

Permalink
update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
aylapear committed Oct 30, 2023
1 parent c018593 commit 2cef5f4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions R/season.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
#' dates,
#' start = c(First = dtt_date("2000-01-01"), Second = dtt_date("2000-06-01"))
#' )
dtt_season <- function(x, start = c(
Spring = 3L, Summer = 6L,
Autumn = 9L, Winter = 12L
), first = NULL) {
dtt_season <- function(x,
start = c(Spring = 3L, Summer = 6L, Autumn = 9L, Winter = 12L),
first = NULL) {
if (!vld_s3_class(x, "Date") && !vld_s3_class(x, "POSIXct")) {
chkor_vld(vld_s3_class(x, "Date"), vld_s3_class(x, "POSIXct"))
}
Expand Down

0 comments on commit 2cef5f4

Please sign in to comment.