assert*functions in favor of a simpler, assertthat style approach using
assertfor 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.
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.
validateengines, re-writing the code from scratch based on the internal code of
goalieclass in addition to
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.
printStringfrom basejump package.
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
assignToBodyto fix backports handling of
...eltfor R 3.4.
hasAccess: Needed to add
unamecall internally for R 3.4 backward compatibility, for checks that rely upon
TRUE, as expected. The handling of this situation has changed in R 3.5.
validateto match the new conventions used in
stopifnotfor R 3.6 release. This should be completely backward compatible and transparency, but file an issue if you run into any unexpected bugs with this change.
nargument handling in
hasElementschecks. Previously this didn’t return scalar consistently and could cause some build check issues to pop up in R 3.6, which are now fixed.