Skip to content

check_gaps not found when using multisession #2

@robjhyndman

Description

@robjhyndman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions