data-cleaning / errorlocate

Find and replace erroneous fields in data using validation rules
http://data-cleaning.github.io/errorlocate/
22 stars 3 forks source link

bug when validator object contains strict equality (<=0.3.0) #21

Closed edwindj closed 4 years ago

edwindj commented 4 years ago
library(errorlocate)
rules <- validator(x == 0)
data <- data.frame(x = 0)
le <- locate_errors(data, rules)
le$errors
##       x
## [1,] NA
le$weight
## [1] NA
edwindj commented 4 years ago

Fixed in version (0.3.1)