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
Similar to #14 but when the comparison is a single element the wrong answer seems to be returned.
library(errorlocate) rules <- validator( x %in% c("A")) data <- data.frame(x = "C") locate_errors(data, rules)$errors
This returns FALSE but should return TRUE. For completeness, the example used in #14 is:
FALSE
TRUE
rules <- validator( x %in% c("A", "B")) data <- data.frame(x = "C") locate_errors(data, rules)$errors
which returns TRUE.
Using errorlocate version 0.4 on R 3.6.3 on Windows.
errorlocate
Incidentally, the following seems to work:
rules <- validator( x %in% c("A", "A")) data <- data.frame(x = "C") locate_errors(data, rules)$errors
The text was updated successfully, but these errors were encountered:
Thanks for reporting! I will have a look at it asap.
Sorry, something went wrong.
fix for issue #25. Thanks to @nickforr
6dc6ff1
In my tests this is solving the issue, could you please check if it is working for you?
remotes::install_github("data-cleaning/errorlocate")
If it is working I will update CRAN in a week or so. (CRAN does not like high frequency updates :-) )
Closing issue, please reopen if necessary...
Working perfectly, thanks for speedy fix. And thanks for this and validate, really easy to use and very helpful.
validate
No branches or pull requests
Similar to #14 but when the comparison is a single element the wrong answer seems to be returned.
This returns
FALSE
but should returnTRUE
. For completeness, the example used in #14 is:which returns
TRUE
.Using
errorlocate
version 0.4 on R 3.6.3 on Windows.Incidentally, the following seems to work:
The text was updated successfully, but these errors were encountered: