complete.cases fails in the presence of NA_integer64_
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Reproduce the example with complete.cases(data.frame(a = as.integer64(NA))) and read src/library/stats/R/complete.cases.R, especially the linked .External call. Determine the expected behavior for integer64 NA values and whether the package can provide a class-aware path; done means the reported case is handled and covered by a regression test.
Written by the indexing model from the issue text.
Description
complete.cases(data.frame(a = as.integer64(NA)))
AFAICT this cannot work because complete.cases() appeals directly to a .External() call:
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?
- Dominant language
- R
- Stars
- 40
- Forks
- 13
- Avg merge
- 10h 24m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from r-lib/bit64
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
⚠️ Breaking change
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·