powered by
Function designed to be used as trigger in act_after_exposure(). Returns TRUE if exposure attribute of .tbl has any information about data units not obeying the rules, i.e. rule breakers.
act_after_exposure()
TRUE
.tbl
any_breaker(.tbl)
Result of exposure, i.e. data frame with exposure attribute.
assert_any_breaker for implicit usage of any_breaker().
any_breaker()
# NOT RUN { mtcars %>% expose(data_packs(. %>% dplyr::summarise(nrow_low = nrow(.) > 50))) %>% any_breaker() # }
Run the code above in your browser using DataLab