r-lib / generics

Common generic methods
https://generics.r-lib.org/
Other
61 stars 13 forks source link

Add forecast() and accuracy() generics #63

Closed robjhyndman closed 2 years ago

robjhyndman commented 3 years ago

It has been suggested that the forecast() and accuracy() generic functions would be better placed in the generics package, rather than having them duplicated across several packages, or importing the forecast package just to use these functions. Would you be willing to consider this? If yes, do you want a PR? @mitchelloharawild @config-i1

config-i1 commented 3 years ago

It would be great if this was implemented in generics. This would resolve issues that several users have complained about over the recent years. Let me know if I can help to make this happen :).

config-i1 commented 3 years ago

I've created a pull request with the two generics to simplify things, if it helps :)

mitchelloharawild commented 2 years ago

Thanks for the PR, it would be nice to use generics() for these functions.