USGS-R / hazardItems

Services for creating coastal change hazards items for the USGS Coastal Change Hazards Portal
https://marine.usgs.gov/coastalchangehazardsportal
Other
4 stars 9 forks source link

success/Success httr version issues; making it work for either way.. #124

Closed mhines-usgs closed 7 years ago

mhines-usgs commented 7 years ago

this seems to work fine, not sure if it's a bad fix. but, i had version httr 1 local, and 1.2.1 on the server, and it worked together ok. also see debugging this logic seems to work:

Browse[3]> http_status(response)$category == "Success"
[1] TRUE
Browse[3]> http_status(response)$category == "success"
[1] FALSE
Browse[3]> http_status(response)$category == "success" | http_status(response)$category == "Success"
[1] TRUE
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.04%) to 30.572% when pulling e89f2e14a11d9d0ccd90bbfb24f4ff03fdbbcde8 on mhines-usgs:master into 64a9fcd174bc78bca86cbec57409ed8728860929 on USGS-R:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 30.61% when pulling db6d5e967550a9e9bf4d3c685d30a344032f0eac on mhines-usgs:master into 64a9fcd174bc78bca86cbec57409ed8728860929 on USGS-R:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 30.61% when pulling 4fa8f60a76066d5c7b8eea3b243d93322fb4bba6 on mhines-usgs:master into 64a9fcd174bc78bca86cbec57409ed8728860929 on USGS-R:master.