Closed EconProf closed 3 years ago
Thanks, this would be a fabletools issue with a map()
/lapply()
of some sort. I'm surprised that the named vector worked at all in fabletools given the issue that this new error addresses.
MRE:
library(fabletools)
fable(
time = 1, dist = distributional::dist_normal(0,1),
index = time, distribution = dist, response = "y"
) %>%
hilo()
#> Warning: The dimnames of the fable's distribution are missing and have been set
#> to match the response variables.
#> Error: Problem with `mutate()` input `80%`.
#> x A <hilo> object cannot be named.
#> ℹ Input `80%` is `hilo(dist, 80)`.
Created on 2020-08-06 by the reprex package (v0.3.0)
Actually seems to be from the apply in distributional: MMMRE (more minimal MRE):
library(distributional)
dist <- dist_normal(0,1)
dimnames(dist) <- "y"
hilo(dist, 95)
#> Error: A <hilo> object cannot be named.
Created on 2020-08-06 by the reprex package (v0.3.0)
Today's version of distributional appears to have a problem with autoplot() for forecasts. I think that d8a3e2d worked OK. As usual, operator error may be the cause.
Created on 2020-08-05 by the reprex package (v0.3.0)