In every data project, there should be a check that the data actually looks like what you expect it to look like.
This can be as simple as stopifnot(all(data$values __ 0)), but as with everything “simple”, you typically want to have some additional features, such as cleaner error messages, …
Continue reading: <a href=“https://www.r-bloggers.com/2023/07/introducing-dataverifyr-a-lightweight-flexible-and-