Tools for Defensive Programming
attempt package
Attempt
discretly
If this, then that
Is the element of class "try-error"?
Manipulate messages and warnings
Warn if
Add a function to be run on error
Test for all, any or none
Silently attempt
Silently
surely
Try Catch
Tools for defensive programming, inspired by 'purrr' mappers and based on 'rlang'.'attempt' extends and facilitates defensive programming by providing a consistent grammar, and provides a set of easy to use functions for common tests and conditions. 'attempt' only depends on 'rlang', and focuses on speed, so it can be easily integrated in other functions and used in data analysis.