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

NA error when plotting VPTS time series object #31

Closed
adokter opened this issue Apr 11, 2017 · 3 comments
Closed

NA error when plotting VPTS time series object #31

adokter opened this issue Apr 11, 2017 · 3 comments
Milestone

Comments

@adokter
Copy link
Owner

adokter commented Apr 11, 2017

Reported by Baptiste Schmid on 7 Apr 2017:

plot(ts, quantity="dens")
#>>>  Error in if (is.na(x) || is.na(y)) next : missing value where TRUE/FALSE needed
@adokter
Copy link
Owner Author

adokter commented Feb 23, 2018

This error occurs here in plotting function of wind barbs

@adokter
Copy link
Owner Author

adokter commented Feb 23, 2018

when both x and y are empty, the if statement evaluates to logical(0) || logical(0) which is NA, producing the error message.

adokter added a commit that referenced this issue Feb 23, 2018
@adokter
Copy link
Owner Author

adokter commented Feb 23, 2018

Closed by commit 7fc2df6

@adokter adokter closed this as completed Feb 23, 2018
stijnvanhoey pushed a commit that referenced this issue Apr 19, 2018
@peterdesmet peterdesmet added this to the 0.2.x milestone Sep 23, 2018
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