Skip to content

Commit bf1e7ea

Browse files
committed
add data_frame() to utility functions
1 parent 760a294 commit bf1e7ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/utils.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ list_fields <- function(x) {
5656
res <- infer_esri_type(data.frame())
5757
}
5858

59-
res
59+
data_frame(res)
6060
}
6161

6262
#' @export
@@ -72,7 +72,7 @@ pull_field_aliases <- function(x) {
7272
#' @rdname utils
7373
list_items <- function(x) {
7474
check_inherits_any(x, c("FeatureServer", "ImageServer", "MapServer"))
75-
rbind(x[["layers"]], x[["tables"]])
75+
data_frame(rbind(x[["layers"]], x[["tables"]]))
7676
}
7777

7878
#' @export

0 commit comments

Comments
 (0)