Version 0.2
goalie 0.2.0 (2018-12-12)
Major changes:
- Removed all
assert*functions in favor of a simpler, assertthat style approach usingassertfor all checks. The package will export check functions that returnlogical, typicallylogical(1)(boolean flag) for most checks. These checks can then be wrapped inassertorvalidate(for S4 class validity checks) calls.
goalie 0.2.1 (2018-12-20)
Major changes:
- The approach to the package update is heavily influenced by the conventions defined in the assertive package. In goalie, I’m attempting to create a minimal assert check engine that behaves similar to
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. - Overhauled the
assertandvalidateengines, re-writing the code from scratch based on the internal code ofstopifnot. - Reworked all assertive check functions to reduce the number of dependencies. Now the package is lean and mean, only importing methods and utils into the NAMESPACE.
- Assertive checks now return as
goalieclass in addition tological.
goalie 0.2.2 (2018-12-22)
Major changes:
-
assert: Addedmsgformal. 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. - Improved scalar return consistency in functions where applicable, using
falseFromVectorinternally.
goalie 0.2.3 (2019-01-04)
New functions:
- Migrated some low-level functions from basejump that are useful for assertive checks:
matchArgsToDoCall,standardizeCall, and theMethodDefinitionfamily, which includesmethodFunction,methodFormals,hasLocal,extractLocal. These will get re-exported in basejump.
Minor changes:
- Reorganized base engine function files, getting rid of the
base-prefix. - Added conditional
NULLsupport where applicable, withnullOKformal. Applies toisInt,isNumber,isString, for example. - General documentation improvements.
goalie 0.2.4 (2019-01-06)
New functions:
- New exports:
allAreDirectories,allAreFiles, which return scalar.
Minor changes:
- Documentation improvements.
goalie 0.2.7 (2019-02-11)
Minor changes:
-
assert:tracebackargument is disabled by default. Note that this can be enabled globally usingoptions(goalie.traceback = TRUE), which can be useful for code debugging in some situations. -
isSubset: Improved cause message if user attempts to pass inNULLfor eitherxoryarguments. -
hasNonZeroRowsAndCols: Fixed typo in internal code that didn’t check usinghasColsproperly. -
isFlag: Improved cause message if user passes inNA.
goalie 0.2.8 (2019-02-11)
Minor changes:
- Bioconda unit tests revealed that
...eltapproach used inassertisn’t backward compatible with R 3.4. The backports package was added as a dependency, which provides legacy support for...eltin R 3.4. This is called internally inside.onLoadspecifically for R releases prior to 3.5.
goalie 0.2.9 (2019-02-25)
Minor changes:
- Needed to tweak internal code in
assignToBodyto fix backports handling of...eltfor R 3.4. -
hasAccess: Needed to addunamecall internally for R 3.4 backward compatibility, for checks that rely uponisTRUEto returnTRUE, as expected. The handling of this situation has changed in R 3.5.
goalie 0.2.10 (2019-03-10)
Minor changes:
-
isSubset: Improved cause message, which would error using internaldeparsecall on long vectors.
goalie 0.2.11 (2019-03-17)
Minor changes:
-
isDirectory,isFile: Now return withcauseattribute set on failure. - Updated assert checks and reworked comments to pass lintr checks.
goalie 0.2.13 (2019-03-31)
Minor changes:
- Overhauled and improved assert checks.
- Miscellaneous bug fixes for assert checks.
goalie 0.2.14 (2019-04-02)
Minor changes:
-
standardizeCall: ImprovedisNonNegativeassert check by wrapping inunnamecall, to keep backward compatibility with R 3.4. - Improved code coverage, getting closer to 100%.
goalie 0.2.15 (2019-04-22)
Minor changes:
- Bug fix for name handling in
assertandvalidatecalls. Now usingunnameinternally to prevent unexpected errors with named logical vectors.
goalie 0.2.16 (2019-05-04)
Minor changes:
- Improved pkgdown NEWS configuration.
- Improved Travis Docker configuration.
- Initial commit of draft vignette.
- Improved comments regarding call standardization and name handling inside
assertfunction.
goalie 0.2.17 (2019-07-15)
Major changes:
- Tweaked the internal code slightly for
assertandvalidateto match the new conventions used instopifnotfor 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. - Improved
nargument handling inhasElementschecks. 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. - Removed support for R 3.4 and no longer need to import backports.
Minor changes:
- No longer exporting
extractLocalandhasLocal. These are currently only used by MethodDefinition utility functions defined here in the goalie package. - Improved code coverage back up to 100%.
- Improved the documentation file names.