Skip to content

Commit

Permalink
Updated tests/examples for hilo() change
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Jul 25, 2019
1 parent 5890caf commit 4dbc9a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/forecast.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ forecast <- function(object, ...){
#'
#' # Compute 80% and 95% forecast intervals
#' beer_fc %>%
#' report(level = c(80, 95))
#' hilo(level = c(80, 95))
#'
#' beer_fc %>%
#' autoplot(aus_production)
Expand Down
2 changes: 1 addition & 1 deletion man/forecast.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-fable.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test_that("fable dplyr verbs", {
expect_equal(2)

expect_equal(
colnames(report(fbl_complex, level = c(50, 80, 95))),
colnames(hilo(fbl_complex, level = c(50, 80, 95))),
c("key", ".model", "index", "value", "50%", "80%", "95%")
)

Expand Down

0 comments on commit 4dbc9a3

Please sign in to comment.