Skip to content

Commit cd1e91e

Browse files
committed
I cannot set warning = in tryCatch for old GDAL versions
1 parent f5b9f12 commit cd1e91e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

R/get-key-values.R

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@ oe_get_keys.character = function(zone, layer = "lines", values = FALSE, which_ke
128128
call. = FALSE
129129
)
130130
},
131-
warning = function(cnd) {
132-
stop(
133-
"The input file does not exist and can't be matched with any existing file.",
134-
" You can download it using oe_get(zone, download_only = TRUE).",
135-
call. = FALSE
136-
)
137-
},
138131
oe_find(zone, quiet = TRUE)
139132
)
140133

0 commit comments

Comments
 (0)