tracebackargument is disabled by default. Note that this can be enabled globally using
options(goalie.traceback = TRUE), which can be useful for code debugging in some situations.
isSubset(): Improved cause message if user attempts to pass in
hasNonZeroRowsAndCols(): Fixed typo in internal code that didn’t check using
isFlag(): Improved cause message if user passes in
msgformal. Improved error message when a user inputs check functions that don’t return boolean.
capitalize(): Simplified documentation, referring the user to the documentation provided in syntactic package.
falseFromVector(): Newly exported function.
isInRangefamily: Added scalar variants for all vectorized functions.
stopifnot(), but with more informative error messages. This approach is inspired by the assertthat package, but neither assertive or assertthat are working quite right for my needs.
validate()engines, re-writing the code from scratch based on the internal code of
goalieclass in addition to
assert*()functions in favor of a simpler, assertthat style approach using
assert()for all checks. The package will export check functions that return
logical(1)(boolean flag) for most checks. These checks can then be wrapped in
validate()(for S4 class validity checks) calls.