Closed edwindj closed 3 years ago
This issue is fixed in github. Issue will be closed when on CRAN.
New behavior is:
rules <- validator( profit == turnover - cost
, cost >= 0.6 * turnover
, turnover >= 0
)
data <- data.frame(profit = 1e10, cost = 200, turnover = 300)
el <- locate_errors(data, rules)
el$errors
## profit cost turnover
##[1,] TRUE FALSE FALSE
el$status
# 0
Is fixed
(it generates a warning though)