diff --git a/R/info.R b/R/info.R index 96780fb..de457d7 100644 --- a/R/info.R +++ b/R/info.R @@ -114,7 +114,7 @@ get_abstract_null <- function(x) { } guess_layer_format <- function(layer) { - if (any(layer$getDescription(pretty = TRUE)[["geometry"]])) { + if (!is.null(layer$getGeometryType())) { "sf" } else { "data.frame"