Open eddelbuettel opened 1 month ago
Thanks! I'm planning to have "Error Debugging" separate from "Error Design and Handling". So, I'll make sure stopifnot()
is covered in that section. 👍
If we're picky we could say it's neither but belongs in a section such as this. Anyway, I trust you'll get it covered.
Nice debugging chapter. Relying a
stopifnot("error message here" = condition_to_meet(), "another error" = another_condition())
is a good pattern worth mentioning.