
Add assertion tests to your functions to ensure assumptions are met and errors are helpful.
Add assertion tests to your functions to ensure assumptions are met and errors are helpful.
Iterate your R code using the map() function from the purrr package.