Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forecast.xgbar() is inaccessible with R 3.5.0 #43

Open
SpencerDH opened this issue May 25, 2018 · 1 comment
Open

forecast.xgbar() is inaccessible with R 3.5.0 #43

SpencerDH opened this issue May 25, 2018 · 1 comment

Comments

@SpencerDH
Copy link

I have installed forecastxgb from GitHub, but forecast.xgbar() is unavailable even when the package is loaded into the workspace. The version of R being used is 3.5.0.

Reproducible example:

`install_github("ellisp/forecastxgb-r-package/pkg")
library(forecastxgb)

sample_ts <- ts(sample(8:30, replace = TRUE, size = 25))

xgbar_season <- xgbar(sample_ts)

fcast <- forecast.xgbar(xgbar_season)`

This returns the error:

Error in forecast.xgbar(xgbar_season) :
could not find function "forecast.xgbar"

xgbar() works fine. Additionally, the help files for the forecastxgb functions are unavailable and return an error saying that the forecastxgb.rdb file is corrupt.

@ellisp
Copy link
Owner

ellisp commented Jun 6, 2018

forecast.xgbar isn't designed to be called explicitly but should work as just the .xgbar method for forecast. Does forecast(xgbar_season) work for you?

I can't reproduce the problem with the help files; perhaps try re-installing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants