From 59d346939f4cb1926d6906428ecf7035ee70eac4 Mon Sep 17 00:00:00 2001 From: aoles Date: Thu, 19 Sep 2024 21:45:39 +0200 Subject: [PATCH] fix: add missing import --- NAMESPACE | 1 + R/api_call.R | 1 + 2 files changed, 2 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 7429d11..308406f 100755 --- a/NAMESPACE +++ b/NAMESPACE @@ -38,5 +38,6 @@ importFrom(keyring,key_list) importFrom(keyring,key_set_with_value) importFrom(leaflet,fitBounds) importFrom(utils,str) +importFrom(utils,type.convert) importFrom(xml2,read_xml) importFrom(xml2,xml_validate) diff --git a/R/api_call.R b/R/api_call.R index fcd0dbc..21915c7 100755 --- a/R/api_call.R +++ b/R/api_call.R @@ -183,6 +183,7 @@ error_message <- function(code, details) { #' @importFrom geojsonsf geojson_sf #' @importFrom jsonlite fromJSON toJSON validate +#' @importFrom utils type.convert #' @importFrom xml2 read_xml xml_validate parse_content <- function (content, format = c("json", "xml"),