From ecc06829704df7a8b81895842b79bd8aa660fed6 Mon Sep 17 00:00:00 2001 From: Ben Letham Date: Mon, 6 Mar 2017 13:32:28 +0200 Subject: [PATCH] Make prophet the first class (#68, #16) --- 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 91191db..270950d 100644 --- a/R/R/prophet.R +++ b/R/R/prophet.R @@ -109,7 +109,7 @@ prophet <- function(df = df, history = NULL ) validate_inputs(m) - class(m) <- append(class(m), "prophet") + class(m) <- append("prophet", class(m)) if (fit) { m <- fit.prophet(m, df, ...) }