conditionz: control how many times conditions are thrown

r
package
conditionz
Tags: #<Tag:0x00007f5db31bf838> #<Tag:0x00007f5db31bf6f8> #<Tag:0x00007f5db31bf5b8>
#1

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 https://ropensci.org/technotes/2019/04/24/conditionz/

1 Like
#2

The GH repo link is out on ropenscilabs, BTW - https://github.com/ropenscilabs/conditionz :wink:

1 Like
#3

Thanks! Will fix that