Skip to content

Commit 83e7469

Browse files
author
Jesse Cambon
committed
remove duplicate api options check
1 parent 145e4a5 commit 83e7469

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

R/geo.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@ geo <-
304304
check_common_args("geo", mode, limit, batch_limit, min_time)
305305
check_method(method, reverse = FALSE, mode, batch_func_map, cascade_order = cascade_order)
306306

307-
if (!(api_options[["census_return_type"]] %in% c("geographies", "locations"))) {
308-
stop("Invalid census_return_type value. See ?geo", call. = FALSE)
309-
}
310-
311307
# Deprecate parameters that only existed because of method = "cascade"
312308
if (api_options[["init"]] == TRUE) {
313309
if (!missing("cascade_order")) lifecycle::deprecate_warn("1.0.4", "geo(cascade_order)", "geocode_combine()")

0 commit comments

Comments
 (0)