mitchelloharawild / mitchelloharawild/fable.tscount
check_gaps not found when using multisession
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
This works ok if plan(multisession) is omitted.
library(tsibble)
#>
#> Attaching package: 'tsibble'
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, union
library(fable)
#> Loading required package: fabletools
library(fable.tscount)
library(future)
plan(multisession)
tibble(time = 1:100, value = rpois(100, 3)) |>
as_tsibble(index=time) |>
model(TSCOUNT(value))
#> Warning: 1 error encountered for TSCOUNT(value)
#> [1] could not find function "check_gaps"
#> # A mable: 1 x 1
#> `TSCOUNT(value)`
#> <model>
#> 1 <NULL model>
Created on 2022-10-14 with reprex v2.0.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reproducible example from the issue with future::plan(multisession), then inspect the package entry points involved in TSCOUNT(value) model fitting and worker execution. Done means the same model call completes under multisession without the missing check_gaps error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data, distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100