Skip to content

Commit

Permalink
check for cartesian error in join
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Jul 27, 2023
1 parent 55b0878 commit 61358c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/load_survey.r
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ load_survey <- function(files, ...) {
all.x = TRUE
)
}, error = function(cond) {
if (!grepl("cartesian", cond$message)) {
stop(cond$message)
}
NULL
})

Expand Down

0 comments on commit 61358c7

Please sign in to comment.