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

empty edge case errs #33

Closed
sebffischer opened this issue Sep 19, 2023 · 1 comment
Closed

empty edge case errs #33

sebffischer opened this issue Sep 19, 2023 · 1 comment

Comments

@sebffischer
Copy link
Contributor

library(tf)
#> 
#> Attaching package: 'tf'
#> The following objects are masked from 'package:stats':
#> 
#>     sd, var

d = data.frame(time = 1, value = NA_real_, id = "1")

x = tfd(d, arg = "time", value = "value", id = "id")

x
#> tfd[0] on (NA,NA)
#> Error in attr(f, "arg")[[1]]: subscript out of bounds

Created on 2023-09-19 with reprex v2.0.2

@fabian-s
Copy link
Contributor

fabian-s commented Jan 8, 2024

closing this - kinda duplicate with #5

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