Closed nipnipj closed 1 year ago
Hi @nipnipj, thanks for the report. I don't see anything in your example that seems obviously incorrect, but I also don't see anything that indicates how flexdashboard might be involved in your issue. If you could provide more context in the form of a minimal reproducible example, we'd be happy to take a look.
The problem lies with
forecast <- renderPlot(
p3()
)
renderPlot()
may only be assigned to an output
slot (e.g., output$forecast
). Also keep in mind, in an flxedashboard/rmarkdown document, assigning to an output
slot will only work if there is a corresponding output container with a matching id (e.g., plotOutput("forecast")
).
That said, you can also just do renderPlot(p3())
(without assigning it to anything) if you just want to render the plot at that particular code chunk location.
Here, I'm using
fable
package. When trying to plotforecast
object from:I get the following error.
Other plots work fine.