Skip to content

Commit e244da7

Browse files
committed
get_component_from_SDA: use incomparables=NA with merge()
1 parent 48e7619 commit e244da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/get_component_from_SDA.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ get_chorizon_from_SDA <- function(WHERE = NULL, duplicates = FALSE,
863863
d.chfrags[idx] <- lapply(d.chfrags[idx], function(x) ifelse(is.na(x), 0, x))
864864
}
865865

866-
d.chorizon <- merge(d.chorizon, d.chfrags, all.x = TRUE, by = "chkey", sort = FALSE)
866+
d.chorizon <- merge(d.chorizon, d.chfrags, all.x = TRUE, by = "chkey", sort = FALSE, incomparables = NA)
867867

868868
}
869869
# } else {

0 commit comments

Comments
 (0)