Tools for Working with URLs and HTTP
Overview
Useful tools for working with HTTP organised by HTTP verbs (GET(), POST(), etc). Configuration functions make it easy to control additional request components (authenticate(), add_headers() and so on).
- Fixes for
R CMD check
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-06
- ERROR10 OK, 3 ERROR2026-08-21
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- WARNING12 OK, 1 WARNING2026-06-08
- OK13 OK2026-05-10
- ERROR12 OK, 1 ERROR2026-05-03
- OK14 OK2026-03-10
Documentation
- Help pages
- 67 (19 internal)includes a package overview page
- Examples that run
- 51%23 run in a plain check · 21 never run · 1 hold no code
- Exported functions with examples
- 69%
- Documented parameters
- 88%
- Return-value docs
- 34%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 61%
- Median days to close, 50 most recently updated closed issues
- 1,210
- Median days to close, 50 most recently updated closed PRs
- 142
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-lib/httr on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-01 · The repository has a site deploy workflow
pkgdown site last built 2026-09-01
Show all practicesHide 2 practices
Dependencies
Installing httr adds 7 packages (6 with compiled code, 2.9 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, curl 714 KB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 974 more dependents and 121 packages that suggest it on CRAN ↗
Code & Tests
People & History
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 2.15.2Latest2012-10-10 · current release · diff ↗ ·
added 10 exports
guess_media, hmac_sha1, http_status, oauth2.0_token, parse_media, sign_oauth1.0, sign_oauth2.0, url_ok, url_success, warn_for_status - 2.15.12012-06-19 · diff ↗
Show 25 earlier eventsHide 25 earlier events
- 1.4.92026-09-01 · diff ↗
- 1.4.82026-02-13 · diff ↗
- 1.4.72023-08-15 · diff ↗
- 1.4.62023-05-08 · diff ↗
- 1.4.52023-02-24 · diff ↗
- 1.4.42022-08-17 · diff ↗
- 1.4.32022-05-04 · diff ↗
- 1.4.22020-07-21 · diff ↗
- 1.4.12019-08-05 · diff ↗
- 1.4.02018-12-11 · diff ↗
- 1.3.12017-08-20 · diff ↗
- 1.3.02017-08-16 · diff ↗ ·
removed 1 export
safe_callbackadded 4 exports
get_callback, oauth2.0_access_token, oauth2.0_authorize_url, set_callback - 1.2.12016-07-03 · diff ↗
- 1.2.0
- 1.1.0
- 1.0.02015-06-25 · diff ↗ ·
removed 4 exports
brew_dr, write_init, write_opts, write_termadded 1 export
httr_dr - 0.6.12015-01-01 · diff ↗
- 0.6.02014-12-13 · diff ↗ ·
removed 1 export
new_tokenadded 12 exports
Token, Token1.0, Token2.0, TokenServiceAccount, VERB, brew_dr, handle_find, handle_reset, oauth_service_token, revoke_all, safe_callback, write_stream - 0.52014-09-02 · diff ↗ ·
added 10 exports
cache_info, http_date, parse_http_date, rerequest, write_disk, write_function, write_init, write_memory, write_opts, write_term - 0.42014-07-28 · diff ↗ ·
removed 1 export
new_binadded 14 exports
accept, content_type, content_type_json, content_type_xml, cookies, curl_docs, has_content, headers, httr_options, oauth_header, oauth_signature, progress, status_code, with_verbose - 0.32014-03-20 · diff ↗ ·
added 6 exports
http_condition, init_oauth1.0, init_oauth2.0, new_token, oauth_endpoints, oauth_exchanger - 0.22012-10-11 · diff ↗
- 0.1.12012-06-19 · diff ↗
- 0.12012-05-06
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-05-06
- Total releases
- 26 / 14 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6
- Download size
- 111 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("httr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.