Error in `mutate()`: ℹ In argument: `value = na_interpolation(value, option = "spline")

Hello everyone,
I faced the this problem:
I hope you guys can help me solve this error. Whenever I run the code chunk I get this error. I installed the required packages like ‘imputeTS’ and WDI (world development indicator).
NY.GDP.MKTP.KD.ZG: This is the Gross Domestic Product (GDP) indicator.

thanks in advance