Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Imports:
methods,
grDevices
RoxygenNote: 7.2.0
Remotes:
bleutner/RStoolbox
Suggests:
testthat,
covr
Expand Down
2 changes: 1 addition & 1 deletion R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ rbind.different <- function(x) {
all_na <- sapply(x, function(element) {
return(ifelse(inherits(element, LIST()), FALSE, is.na(element)))
})
return(length(x) == 0 || is.null(x) || is.na(x) || all_null || all_na)
return(length(x) == 0 || is.null(x) || all(is.na(x)) || all(all_null) || all(all_na))
}

#' checks if a character can be integer
Expand Down