Data forecasting in R Studio

Hi, we don't have your dataset. Can you provide a reproducible example?

What errors do you get?