Skip to content

Commit d4974e9

Browse files
Use S3 dispatch for integer64 methods (#7753)
1 parent 26bb18e commit d4974e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9443,7 +9443,7 @@ construct <- function(cols, vals, ops, x, y) {
94439443
expr = lapply(seq_along(cols), function(i) {
94449444
GT_or_LT = ops[i]==">" || ops[i]=="<"
94459445
if (inherits(vals[[i]], "integer64")) {
9446-
if (is.na.integer64(vals[[i]])) if (GT_or_LT) quote(logical()) else as.call(list(quote(is.na.integer64), as.name(cols[[i]])))
9446+
if (is.na(vals[[i]])) if (GT_or_LT) quote(logical()) else as.call(list(quote(is.na), as.name(cols[[i]])))
94479447
else as.call(list(as.name(ops[[i]]), as.name(cols[[i]]), as.integer(vals[[i]])))
94489448
# don't know how to construct a call with int64 -- vals[[i]] gets converted to NAN
94499449
} else {

0 commit comments

Comments
 (0)