Switch to httr2 and get more error messages logged
Change-Id: I16050b5ad85f5940fcf6adb3cc647139c7d8d8da
diff --git a/NAMESPACE b/NAMESPACE
index 5840a09..9148b1c 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -16,7 +16,6 @@
export(select)
export(summarise)
export(year)
-import(httr)
import(keyring)
import(tibble)
importFrom(dplyr,bind_cols)
@@ -27,6 +26,12 @@
importFrom(dplyr,rowwise)
importFrom(dplyr,select)
importFrom(dplyr,summarise)
+importFrom(httr2,req_error)
+importFrom(httr2,req_perform)
+importFrom(httr2,req_url_query)
+importFrom(httr2,request)
+importFrom(httr2,resp_body_json)
+importFrom(httr2,resp_body_raw)
importFrom(jsonlite,fromJSON)
importFrom(lubridate,year)
importFrom(magrittr,"%>%")