Skip to content

Commit

Permalink
small fix + add httr to Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
salvafern committed Jan 17, 2022
1 parent 95f20ae commit 5e65cd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion R/client.R
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
}

Expand Down

0 comments on commit 5e65cd1

Please sign in to comment.