httr
Tools for Working with URLs and HTTP
Description
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).
Downloads
975.5K
Last 30 days
68th
3.1M
Last 90 days
13.2M
Last year
Trend: +0.3% (30d vs prior 30d)
11K
Last 30 days
34K
Last 90 days
168.7K
Last year
Trend: -3.9% (30d vs prior 30d)
33
Last 7 days
231
Last 30 days
12
All-time
⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).
171.4K
Last 30 days
541.1K
Last 90 days
1M
Last year
Trend: -40.6% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
Rd files
cannot open the connection cannot open the connection cannot open the connection cannot open the connection problems found in ‘oauth2.0_token.Rd’, ‘oauth_app.Rd’, ‘oauth_callback.Rd’, ‘oauth_endpoint.Rd’
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 10, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 3, 2026
examples
Running examples in ‘httr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: VERB
> ### Title: VERB a url.
> ### Aliases: VERB
>
> ### ** Examples
>
> r <- VERB(
+ "PROPFIND", "h
...[truncated]...
= handle) :
Could not connect to server [svn.r-project.org]:
Failed to connect to svn.r-project.org port 80 after 531 ms: Could not connect to server
Calls: VERB ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
246 87 exported
Complexity
2 avg / 15 max
Call network
246 nodes / 320 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
8,954
Files
166
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
91
Internal functions
144
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.19
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
34.4%
\dontrun example ratio
44.4%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
40%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.6
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
25
First release
2012-05-06
Latest release
2026-02-13
Avg cadence
122 days
Cold removal rate
100%
Dep drift
12
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.