conditionz: control how many times conditions are thrown

Authors: Scott Chamberlain

conditionz is a new (just on CRAN today) R package for controlling how many times conditions are thrown.

This package arises from an annoyance in another set of packages I maintain: The brranching package uses the taxize package internally, calling it’s function taxize::tax_name(). The taxize::tax_name() function throws useful messages to the user if their API key is not found, and gives them instructions on how to find it. However, the user does not have to get an API key. If they don’t they then get subjected to lots of repeats of the same message.

Read the rest at

1 Like

The GH repo link is out on ropenscilabs, BTW - :wink:

1 Like

Thanks! Will fix that