From 2cef5f4c6e02d5bd1ae1207c4e7376cbb9d3c32b Mon Sep 17 00:00:00 2001 From: Ayla Pearson Date: Mon, 30 Oct 2023 09:47:09 -0700 Subject: [PATCH] update formatting --- R/season.R | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/R/season.R b/R/season.R index 5b0252d..54e6d13 100644 --- a/R/season.R +++ b/R/season.R @@ -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")) }