This document discusses using validation rules to check data and locate errors. It introduces the errorlocate package, which can formulate validation rules using validate and then locate errors in data that violate those rules. Errorlocate uses an algorithm based on Feligi Holt formalism to identify the minimal number of variable changes needed to satisfy all validation rules. It provides functions to both locate errors and replace errors in data. The package aims to automate the error localization process for large datasets with complex validation rule sets.