Skip to content

Commit 638c1d3

Browse files
committed
Update R/arc-select.R
1 parent 01f0a09 commit 638c1d3

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
@@ -631,7 +631,12 @@ supports_pbf <- function(x, arg = rlang::caller_arg(x), call = rlang::caller_cal
631631
)
632632
# verify that x is an layer
633633
# FIXME: This check makes arc_select error on ImageServer inputs
634-
obj_check_layer(x, arg, call)
634+
check_inherits_any(
635+
x,
636+
class = c("FeatureLayer", "Table", "ImageServer"),
637+
arg = arg,
638+
call = call
639+
)
635640

636641
# extract supported query formats
637642
query_formats_raw <- x[["supportedQueryFormats"]]

0 commit comments

Comments
 (0)