R/zzz.R

Defines functions .onAttach

.onAttach <- function(...) {

  # The server might break the http2 connection,
  # a work around is to disable http2 in the config
  # https://github.com/ropensci/monkeylearn/pull/15
  httr::set_config(httr::config(http_version = 0))

}
ropensci/rdefra documentation built on Jan. 25, 2024, 6:35 p.m.