You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it's become a bit sporadic, with some ensure_ and validate_ functions, and then also lots of loose input validations happening, especially in newer functions. I should return to such functions, streamline them and use them across the package.
Before going too far, it's worth checking whether the validate package, might be the right tool for this (might also work well for the general data checks!).
Maybe ensure_ and/or validate_ functions should have a parameter to either return TRUE/FALSE or return error/pass, to avoid the need for extra functions when a boolean output is needed.
The text was updated successfully, but these errors were encountered:
Currently it's become a bit sporadic, with some
ensure_
andvalidate_
functions, and then also lots of loose input validations happening, especially in newer functions. I should return to such functions, streamline them and use them across the package.Before going too far, it's worth checking whether the validate package, might be the right tool for this (might also work well for the general data checks!).
Maybe
ensure_
and/orvalidate_
functions should have a parameter to either returnTRUE
/FALSE
or return error/pass, to avoid the need for extra functions when a boolean output is needed.The text was updated successfully, but these errors were encountered: