From 151c476030ac334b56a3e8d89d8ba8207a834d94 Mon Sep 17 00:00:00 2001 From: "Sean J. Taylor" Date: Thu, 20 Dec 2018 12:38:17 -0800 Subject: [PATCH] Fixing bug on development version of R --- R/R/prophet.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/R/prophet.R b/R/R/prophet.R index 6093e0c..17e44f2 100644 --- a/R/R/prophet.R +++ b/R/R/prophet.R @@ -885,7 +885,7 @@ make_all_seasonality_features <- function(m, df) { #' @keywords internal regressor_column_matrix <- function(m, seasonal.features, modes) { components <- dplyr::data_frame(component = colnames(seasonal.features)) %>% - dplyr::mutate(col = seq_len(n())) %>% + dplyr::mutate(col = seq_len(dplyr::n())) %>% tidyr::separate(component, c('component', 'part'), sep = "_delim_", extra = "merge", fill = "right") %>% dplyr::select(col, component)