diff --git a/R/R/prophet.R b/R/R/prophet.R index ab7c9ff..0f22f01 100644 --- a/R/R/prophet.R +++ b/R/R/prophet.R @@ -416,7 +416,7 @@ set_auto_seasonalities <- function(m) { last <- max(m$history$ds) if (m$yearly.seasonality == 'auto') { if (last - first < 730) { - warn('Disabling yearly seasonality. ', + warning('Disabling yearly seasonality. ', 'Run prophet with `yearly.seasonality=TRUE` to override this.') m$yearly.seasonality <- FALSE } else {