Skip to content

Commit f339726

Browse files
authored
Update R/arc-select.R
1 parent c4e2d01 commit f339726

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

R/arc-select.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,12 @@ validate_page_size <- function(
625625
supports_pbf <- function(x, arg = rlang::caller_arg(x), call = rlang::caller_call()) {
626626
# verify that x is an layer
627627
# FIXME: This check makes arc_select error on ImageServer inputs
628-
obj_check_layer(x, arg, call)
628+
check_inherits_any(
629+
x,
630+
class = c("FeatureLayer", "Table", "ImageServer"),
631+
arg = arg,
632+
call = call
633+
)
629634

630635
# extract supported query formats
631636
query_formats_raw <- x[["supportedQueryFormats"]]

0 commit comments

Comments
 (0)