Even perturbing just one of the numbers by, say, 0.1, avoids the error. Strangely, the error also persists under affine transformations of the vector above (meaning you can add a constant to the entire vector and scale each value by the same constant and the error remains).
I'm running R 4.0.0 and the most development build of forecast (though the error occurred as well before I updated to the development build).
The following code produces the error in the subject:
Even perturbing just one of the numbers by, say, 0.1, avoids the error. Strangely, the error also persists under affine transformations of the vector above (meaning you can add a constant to the entire vector and scale each value by the same constant and the error remains).
I'm running R 4.0.0 and the most development build of forecast (though the error occurred as well before I updated to the development build).
Any ideas? Thanks!