diff --git a/DESCRIPTION b/DESCRIPTION index 8aec00a..8f0a356 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -52,7 +52,8 @@ Imports: sf, janitor, curl, - jsonlite + jsonlite, + httr URL: https://github.com/EMODnet/EMODnetWFS BugReports: https://github.com/EMODnet/EMODnetWFS/issues VignetteBuilder: knitr diff --git a/R/client.R b/R/client.R index 0631f56..99d1a16 100644 --- a/R/client.R +++ b/R/client.R @@ -101,7 +101,6 @@ check_service <- function(request){ # If no HTTP status, something else is wrong }else if(!httr::http_error(request)){ usethis::ui_info("HTTP Status: {crayon::green(httr::http_status(request)$message)}") - create_client() usethis::ui_stop("An exception has occured. Please raise an issue in {packageDescription('EMODnetWFS')$BugReports}") }