Skip to content

Commit

Permalink
Add missing warn_for_status in NAMESPACE (#266)
Browse files Browse the repository at this point in the history
Co-authored-by: kemihak <[email protected]>
  • Loading branch information
KKamel67 and kemihak authored Nov 19, 2024
1 parent b3d4bd6 commit bd47bac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ importFrom(httr,content_type_json)
importFrom(httr,http_status)
importFrom(httr,stop_for_status)
importFrom(httr,timeout)
importFrom(httr,warn_for_status)
importFrom(lifecycle,deprecated)
importFrom(memuse,Sys.meminfo)
importFrom(methods,is)
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

BUGFIXES :
* `setSimulationPathAPI()` : encode URL before reading the data in simulation mode
* `api_get()` : add warn_for_status in importFrom section

BREAKING CHANGES :
* `setSimulationPathAPI()` : reads and returns the new converted study version format (ex : 9.0 => 900)
Expand Down
2 changes: 1 addition & 1 deletion R/API-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#'
#' @name API-methods
#'
#' @importFrom httr GET accept_json stop_for_status content add_headers timeout
#' @importFrom httr GET accept_json stop_for_status warn_for_status content add_headers timeout
#'
#' @examples
#' \dontrun{
Expand Down

0 comments on commit bd47bac

Please sign in to comment.