Skip to content

Commit

Permalink
.gpkg_process_sources: properly handle data.frame input with `table_n…
Browse files Browse the repository at this point in the history
…ame` specified
  • Loading branch information
brownag committed Feb 13, 2024
1 parent 8646ba8 commit 0f85699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/gpkg-io.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ gpkg_write <- function(x,
}

.gpkg_process_sources <- function(x, ...) {
if (!is.list(x)) {
if (!is.list(x) || is.data.frame(x)) {
x <- list(x)
}

Expand Down

0 comments on commit 0f85699

Please sign in to comment.