From 77da5b8c06d05d478af510198c685d454342db1f Mon Sep 17 00:00:00 2001 From: Ben Letham Date: Thu, 3 Sep 2020 17:21:30 -0700 Subject: [PATCH] Update test to match Py --- R/tests/testthat/test_prophet.R | 4 ---- 1 file changed, 4 deletions(-) diff --git a/R/tests/testthat/test_prophet.R b/R/tests/testthat/test_prophet.R index a371a78..642b3c5 100644 --- a/R/tests/testthat/test_prophet.R +++ b/R/tests/testthat/test_prophet.R @@ -141,10 +141,6 @@ test_that("logistic_floor", { future1$floor <- future1$floor + 10. m2 <- fit.prophet(m2, history2, algorithm = 'Newton') expect_equal(m2$history$y_scaled[1], 1., tolerance = 1e-6) - fcst2 <- predict(m, future1) - fcst2$yhat <- fcst2$yhat - 10. - # Check for approximate shift invariance - expect_true(all(abs(fcst1$yhat - fcst2$yhat) < 1)) }) test_that("get_changepoints", {