-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add error message checking the integer sample size #328
add error message checking the integer sample size #328
Conversation
Nice... Maybe https://github.com/keaven/gsDesign/blob/bd70f66e346603229b46de2a7a84f0a714857ba1/R/toInteger.R#L159 |
Thanks for the suggestion. Yeah, gsDesign2 exactly apply the same logic as in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ported and added it as is_wholenumber()
to encourage code reuse.
Fixes #322