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

complete.cases fails in the presence of NA_integer64_ #122

Open
MichaelChirico opened this issue Nov 13, 2024 · 0 comments
Open

complete.cases fails in the presence of NA_integer64_ #122

MichaelChirico opened this issue Nov 13, 2024 · 0 comments

Comments

@MichaelChirico
Copy link
Collaborator

complete.cases(data.frame(a = as.integer64(NA)))

AFAICT this cannot work because complete.cases() appeals directly to a .External() call:

https://github.com/r-devel/r-svn/blob/c9437a83b9677074fe01310caac6a2a66cc7f680/src/library/stats/R/complete.cases.R#L19

Is there anything that can be done here? Maybe a companion function complete_cases() or complete.cases64() that basically re-implements complete.cases() but is class-aware?

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