Skip to content

Commit

Permalink
Update R/arc-select.R
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Jul 24, 2024
1 parent c4e2d01 commit f339726
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/arc-select.R
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,12 @@ validate_page_size <- function(
supports_pbf <- function(x, arg = rlang::caller_arg(x), call = rlang::caller_call()) {
# verify that x is an layer
# FIXME: This check makes arc_select error on ImageServer inputs
obj_check_layer(x, arg, call)
check_inherits_any(
x,
class = c("FeatureLayer", "Table", "ImageServer"),
arg = arg,
call = call
)

# extract supported query formats
query_formats_raw <- x[["supportedQueryFormats"]]
Expand Down

0 comments on commit f339726

Please sign in to comment.