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

Error message when time col contains NA #184

Closed
christophsax opened this issue Apr 19, 2020 · 1 comment
Closed

Error message when time col contains NA #184

christophsax opened this issue Apr 19, 2020 · 1 comment
Milestone

Comments

@christophsax
Copy link
Collaborator

  library(tsbox)
  x <- ts_tbl(mdeaths)
#> Loading required namespace: tibble
  x[4,1] <- NA
  ts_ts(x)
#> Error in if (is_regular_one_basic(x$time)) return(x): missing value where TRUE/FALSE needed

Created on 2020-04-19 by the reprex package (v0.3.0)

@christophsax christophsax added this to the 0.3 milestone Jun 17, 2021
@christophsax
Copy link
Collaborator Author

Now:

  library(tsbox)
  x <- ts_tbl(mdeaths)
  x[4,1] <- NA
  x <- ts_dts(x)
  ts_ts(x)
#> Error: Time column contains missing values.

Created on 2021-07-25 by the reprex package (v2.0.0)

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

1 participant