Skip to content
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

eyestr fails when only patients counted #4

Closed
tjebo opened this issue Jun 12, 2020 · 1 comment
Closed

eyestr fails when only patients counted #4

tjebo opened this issue Jun 12, 2020 · 1 comment

Comments

@tjebo
Copy link
Owner

tjebo commented Jun 12, 2020

iop_wide <- data.frame(id = letters[1:3], iop_r = 11:13, iop_l = 14:16)
#works
eyes(iop_wide)
# fails
eyestr(iop_wide)

Issue is when testing for small numbers, NA is subsetted which returns error.

tjebo added a commit that referenced this issue Jun 18, 2020
@tjebo
Copy link
Owner Author

tjebo commented Jun 18, 2020

iop_wide <- data.frame(id = letters[1:3], iop_r = 11:13, iop_l = 14:16)
eyestr(iop_wide)
[1] "Three patients"

@tjebo tjebo closed this as completed Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant