httr 1.2.0 is now available on CRAN. The httr package makes it easy to talk to web APIs from R. Learn more in the quick start vignette. Install the latest version with:
There are a few small new features:
RETRY() function allows you to retry a request multiple times until it succeeds, if you you are trying to talk to an unreliable service. To avoid hammering the server, it uses exponential backoff with jitter, as described in https://www.awsarchitectureblog.com/2015/03/backoff.html.
DELETE() gains a body parameter.
encode = "raw" parameter to functions that accept bodies. This allows you to do your own encoding.
http_type() returns the content/mime type of a request, sans parameters.
There is one important bug fix:
POSTrequests. This has the side-effect of properly following redirects after
POST, fixing some login issues in rvest.
httr 1.2.1 includes a fix for a small bug that I discovered shortly after releasing 1.2.0.
For the complete list of improvements, please see the release notes.
In this series, we walk through lesser-known tips and tricks to help you work more effectively and efficiently in R Markdown. This first post focuses on working with R Markdown in the RStudio IDE.
Announcing the 2021.10.0 release of the RStudio Professional Drivers, with single sign-on (SSO) for Hive and Impala.