cnd 0.2.0
Breaking
- class names are now created as
"pkg::condition" using
:: instead of :
Features
condition(class = ) is now deprecated; instead
condition(name = ) should be use; name is now
the first argument
condition(classes = ) is added to include additional
condition classes
- adds default conditions with optional dynamic condition messages;
these are defaults without
package = "cnd" #4
value_error(), value_warning()
class_error(), class_warning()
type_error(), type_warning()
input_error(), input_warning()
use_error(), use_warning() (i.e., /juːs/,
not /juːz/)
duplicate_error(),
duplicate_warning()
default_error()
deprecated_warning()
cnd_document() no longer produces >80 character
lines
condition(name)(message) can be used to override
default messages #22
Fixes
cnd_document()’s links to {cnd} are
corrected #25
condition(message = ) now handles ... and
other arguments correctly #23
conditions("pkg::condition/type") now works #18
Internal
- documentation updates
- test restructure for internal, testing package
cnd 0.1.1
cnd::condition_progenitor$message no longer has its
environment reset #14
- test fix for
{testthat} 3.3.0 #16 @hadley
- additional help information provided for conditions #5
cnd 0.1.0