HTTP and WebSocket Server Library
Overview
Provides low-level socket and protocol support for handling HTTP and WebSocket requests directly from within R. It is primarily intended as a building block for other packages, rather than making it particularly easy to create complete web applications using httpuv alone. httpuv is built on top of the libuv and http-parser C libraries, both of which were developed by Joyent, Inc. (See LICENSE file for libuv and http-parser license information.)
- Closed #426: Uses native symbol registration for calls into compiled code, resulting in performance gains from not having to perform a lookup on each call. (#427)
- Fixed installation failures on macOS caused by the bundled libuv build trying to regenerate autotools files when only some tools (e.g., automake) are present. (#430)
- Fixed a
-single_module is obsoletelinker warning on macOS with newer Apple toolchains that could surface as a significant warning inR CMD check. (#433) - Tests now gracefully skip when suggested packages (
curl,websocket) are not installed, rather than failing the entire test suite. (#432)
From NEWS.md in the release
Install
Health
WARNINGwhether package can be installedr-release-macos-x86_64
Found the following significant warnings: ./utils.h:281:12: warning: compound assignment to object of volatile-qualified type 'volatile char' is deprecated [-Wdeprecated-volatile] See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/httpuv.Rcheck/00install.out’ for details. * used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used SDK: ‘MacOSX11.3.1.sdk’
- WARNING12 OK, 1 WARNINGNow
- WARNING11 OK, 1 WARNING2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-19
- ERROR10 OK, 3 NOTE, 1 ERROR2026-03-10
Documentation
- Help pages
- 24 (6 internal)includes a package overview page
- Examples that run
- 25%3 run in a plain check (1 of them under a condition) · 9 never run
- Exported functions with examples
- 42%
- Documented parameters
- 96%
- Return-value docs
- 26%
- Help pages citing references
- 0%
Also includes 3 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/rstudio/httpuv on 2026-10-18.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-09-21
pkgdown site last built 2026-03-17, before release 1.6.17 (2026-03-18)
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-03-09Pull request: opened by its own account
- Claude Codefirst seen 2026-03-11Commits: at least 4 crediting it in the message
- Claude CodePull requests: 4 from outside contributors, first on 2026-03-09
- Claude Opus 4.64 commits · Mar 2026
Dependencies
Installing httpuv adds 10 packages (6 with compiled code, 6.9 MB of source tarballs). Heaviest: promises 3.1 MB, Rcpp 1.8 MB, rlang 766 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Show 6 more copyright holdersHide 6 copyright holders
Previously maintained by Joe Cheng (1.0.5 to 1.5.3.1).
Show 4 peopleHide 4 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.6.17Latest
- 1.6.162025-04-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.6.152024-03-26 · diff ↗
- 1.6.142024-01-27 · diff ↗
- 1.6.132023-12-06 · diff ↗
- 1.6.12
- 1.6.112023-05-11 · diff ↗
- 1.6.102023-05-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.6.92023-02-14 · diff ↗
- 1.6.82023-01-12 · diff ↗
- 1.6.72022-12-14 · diff ↗
- 1.6.62022-09-08 · diff ↗
Show 47 earlier eventsHide 47 earlier events
- RR 4.2.0 released · 2022-04-22
- 1.6.52022-01-05 · diff ↗
- 1.6.42021-12-14 · diff ↗
- 1.6.32021-09-09 · diff ↗
- 1.6.22021-08-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.6.12021-05-07 · diff ↗
- 1.6.02021-04-23 · diff ↗
- 1.5.52021-01-13 · diff ↗
- 1.5.42020-06-06 · diff ↗
- 1.5.3.12020-05-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.5.2
- RR 3.6.0 released · 2019-04-26
- 1.5.12019-04-06 · diff ↗
- 1.5.02019-03-15 · diff ↗ ·
added 5 exports
WebSocket, excludeStaticPath, listServers, staticPath, staticPathOptions - 1.4.5.12018-12-18 · diff ↗
- 1.4.52018-07-19 · diff ↗
- 1.4.4.22018-07-03 · diff ↗
- 1.4.4.1
- 1.4.32018-05-10 · diff ↗
- 1.4.22018-05-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.4.12018-04-21 · diff ↗
- 1.4.0
- unarchivedReturned to CRAN2018-03-02
- 1.3.6.22018-03-02 · diff ↗
- 1.3.6.12018-02-28 · diff ↗
- orphanedOrphaned by its maintainer2018-02-27check problems were not corrected despite reminder Use of non-portable flags suppressing warnings. Linux and macOS ones have been removed
- 1.3.62018-02-27 · diff ↗
- 1.3.5
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.3.32015-08-04 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.3.22014-10-23 · diff ↗ ·
removed 1 export
WebSocketadded 4 exports
decodeURI, decodeURIComponent, encodeURI, encodeURIComponent - RR 3.1.0 released · 2014-04-10
- 1.3.0
- 1.2.32014-02-19 · diff ↗
- 1.2.2
- 1.2.12013-12-07 · diff ↗
- 1.2.02013-10-14 · diff ↗
- 1.1.0
- 1.0.6.3
- RR 3.0.0 released · 2013-04-03
- 1.0.52013-03-11
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2013-03-11
- Total releases
- 46 / 13 yrs
- License
- GPL (>= 2) | file LICENSE OSI
- Minimum R
- ≥ 2.15.1
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("httpuv")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.