We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
x <- data.frame(a = 1:1000) vis_miss(x)
Error in if (zero_range(from) || zero_range(to)) { : missing value where TRUE/FALSE needed
The text was updated successfully, but these errors were encountered:
Heya Sam,
Thank you for posting this!
It looks like this is happening around line 156 of vis_miss - I'll have a look in the next week.
Sorry, something went wrong.
Just to confirm here, this is a problem with single columns only - weird!
x <- data.frame(a = 1:1000) y <- data.frame(a = c(1:1000, rep(NA, 100))) z <- data.frame(a = c(1:1000, rep(NA, 100)), b = c(rep(NA, 100), 1:1000)) library(visdat) vis_miss(x) #> Error in if (zero_range(from) || zero_range(to)) {: missing value where TRUE/FALSE needed vis_miss(y) #> Error in if (zero_range(from) || zero_range(to)) {: missing value where TRUE/FALSE needed vis_miss(z)
Created on 2018-06-07 by the reprex package (v0.2.0).
c6e677a
Here is the current behaviour:
x <- data.frame(a = 1:1000) y <- data.frame(a = c(1:1000, rep(NA, 100))) z <- data.frame(a = c(1:1000, rep(NA, 100)), b = c(rep(NA, 100), 1:1000)) library(visdat) vis_miss(x)
vis_miss(y)
vis_miss(z)
Thanks for posting this issue @sfirke :)
No branches or pull requests
The text was updated successfully, but these errors were encountered: