Closed stelsemeyer closed 4 years ago
I guess the problem lies somewhere here: https://github.com/config-i1/greybox/blob/ba2163c4d185c02e1b2ae22d711d599087fed4e9/R/methods.R#L25-L36
Ouch. I should have not introduced that method. Thanks for the detailed explanation! This will be removed in the next version of greybox.
Thank you! 😊👍
I have recognized that the behaviour of calling
c
on a timeseries changes with a higher version of smooth (compared2.4.1
vs2.5.3
for ex.). In the older releasec(ts(1))
returns a numeric, whereas in the newer it returns a timeseries.Created on 2019-09-19 by the reprex package (v0.3.0)
Created on 2019-09-19 by the reprex package (v0.3.0)
This ultimately leads to a recursion when calling
tail
on a timeseries, sincetail.ts
callstail
itself (which leads to for ex. many functions of theforecast
package likethefaf
not working, due to falling for this recursion at some point)Created on 2019-09-19 by the reprex package (v0.3.0)
Created on 2019-09-19 by the reprex package (v0.3.0)