소스 검색

Missed this

Sean J. Taylor 8 년 전
부모
커밋
4841d868c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      R/R/prophet.R

+ 1 - 1
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 {