tidyverts / tidyverts/fable

Running model(ETS....) function on version 0.3.1 of Fable causes R console to hang on running and become unresponsive.

Open
#338 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
588
Forks
71
Avg merge
1h 58m
Merged PRs (30d)
1

Description

See attached zip file for reproducible example.

Yesterday I updated my version of Fable to 0.3.1 and shortly after realised that a forecasting script I had been working on had stopped working. I tried the script on both my company laptop (running R v4.0.4) and my personal PC (running R v4.0.5), in both instances I ran into the same problem where running the following line:

cancer_type_rate_fit <- cancer_type_rate_tsib %>% 
  model(
    es = ETS(rate ~ error("A") + trend("A"))
  )

caused the R console in RStudio to hang with the small stop sign in the top right. RStudio hung in this state for at least 30 minutes yesterday and remained unresponsive during this time.

Rolling back Fable to version 0.3.0 fixed the issue, so presumably it is a problem with the new release.
Test.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reproducible example in Test.zip with R and Fable 0.3.1, focusing on the model() call using ETS(error("A") + trend("A")). Compare its behavior with Fable 0.3.0 to narrow down the regression. Done means the forecasting call completes without hanging or leaving the R console unresponsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.