Skip to content

Commit e7e9899

Browse files
different NA handling
1 parent 76ea830 commit e7e9899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/compat-dplyr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ left_join <- function(x, y, by) {
6565
res <- new_tibble(res, nrow = nrow(res))
6666
# dplyr::left_join set unknown list columns to NULL, merge sets them
6767
# to NA
68-
if (exists("child", res) && anyNA(res$child)) {
68+
if (exists("child", res) && any(is.na(res$child))) {
6969
res$child[is.na(res$child)] <- list(NULL)
7070
}
7171
res

0 commit comments

Comments
 (0)