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
@averissimo could we add this to our wiki for programming strategy? it is pretty light, but nice to document somewhere that new features should use this.
xportr
would benefit from some argument checks, first to the exported functions and maybe on a second phase to internal functionsWhy?
To ensure a proper use of the package and help users/developers avoid problems with usage and development.
Effort?
I wouldn't expect this would be a very complex change and I'm volunteering for it, if the team thinks it's the right path
Examples
Example (function arguments)
Example (small inner changes):
xportr/R/utils-xportr.R
Line 309 in b6af2b1
Currently, the if clause would accept a vector of characters as domain (
c("some", "vector", "of", "domains")
) and it would have some unwanted effect.The change in code would be:
Some other changes that would be possible are the checks for integerish numbers (for lengths validation) instead of just checking if it's numeric.
The text was updated successfully, but these errors were encountered: