Skip to content

httpuv

1.6.17Package record

HTTP and WebSocket Server Library

45packages dependsuggested by 51
7.7Mdownloads / year
56.6%test coverage
12/13flavors OK

Overview

About

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.)

Changes in 1.6.17
  • 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 obsolete linker warning on macOS with newer Apple toolchains that could surface as a significant warning in R 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

CRAN checks
1WARNING12OK
Check messages
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’

CRAN check page ↗

Slowest check: 5.9 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.6.17
READMEYes · 664 wordsVignettesNoNEWSYes · 100% structured · mentions 1.6.17Citation fileNoWebsiteYes · pkgdown
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

7.7M
CRAN downloads in the past year
Rank #98 · ~21.1K/day · ~640.4K/mo
Daily download trend is not available in this view yet.
542.3K30 days
1.9M90 days
7.7M1 year
Compare downloads with other packages →
Also on156.7K r2u147 autocran570K conda_forge3.5K c2d4u

Repository

252Stars
89Forks
48Open issues
8Open PRs
33Releases
958Commits
29Commit identities
958 commits · Last activity 2026-09-21 · 0% stars, 30d · Default branch at 1.6.17.9000, ahead of CRAN 1.6.17 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2025-10-04 · 2462026-07-13 · 252
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Governance and community (2)
Code of conductContributing guide
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-09-21

pkgdown site last built 2026-03-17, before release 1.6.17 (2026-03-18)

CRAN release process (2)
cran-comments.mdrevdep/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-03-09
    Pull request: opened by its own account
  • Claude Codefirst seen 2026-03-11
    Commits: at least 4 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 4 from outside contributors, first on 2026-03-09
Models named in its commits
  • Claude Opus 4.64 commits · Mar 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 2.15.1
Imports (5)
LinkingTo (2)
Enhances (0)
none

People & History

People (22)
Author, Maintainer since 1.5.4 (2020) · added in 1.3.5
Author · added in 1.6.11
SHA-1 implementation
Author · added in 1.3.5
Author · added in 1.6.11
MD5 implementation
Author · added in 1.6.11
SHA-1 implementation
Author · added in 1.6.11
base64 implementation
Contributor · added in 1.3.5
Contributor · added in 1.3.5
Copyright holder · added in 1.6.11
libuv subcomponent: android-ifaddrs.h, android-ifaddrs.c
Copyright holder · added in 1.6.11
libuv subcomponent: android-ifaddrs.h, android-ifaddrs.c
Copyright holder · added in 1.6.11
libuv subcomponent: pthread-fixes.c
Copyright holder · added in 1.6.11
libuv subcomponent: inet_pton and inet_ntop, contained in src/libuv/src/inet.c
Copyright holder · added in 1.6.11
libuv library, see src/libuv/AUTHORS file; and http-parser library, see src/http-parser/AUTHORS file
Copyright holder, Funder · added in 1.6.17
Copyright holder · added in 1.6.11
libuv subcomponent: pthread-fixes.c
Copyright holder · added in 1.6.11
base64 implementation
Show 6 more copyright holdersHide 6 copyright holders
Copyright holder · added in 1.6.11
libuv library, see src/libuv/AUTHORS file
Copyright holder · added in 1.6.11
libuv subcomponent: stdint-msvc2008.h (from msinttypes)
Copyright holder · added in 1.6.0
optional.hpp
Copyright holder · added in 1.6.11
libuv subcomponent: android-ifaddrs.h, android-ifaddrs.c
Copyright holder · added in 1.6.11
libuv subcomponent: tree.h
Copyright holder · added in 1.6.11
http-parser

Previously maintained by Joe Cheng (1.0.5 to 1.5.3.1).

Listed in earlier versions (4)
Show 4 peopleHide 4 people
Inc.
no longer listed · 1.0.5 to 1.3.3
RStudio
no longer listed · 1.0.5 to 1.3.3
RStudio, PBC
no longer listed · 1.5.4 to 1.6.10
Posit, PBC fnd
no longer listed · 1.6.11 to 1.6.16
Releases (46)

Pick two releases to compare their code metrics.

Show 47 earlier eventsHide 47 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 1.6.5
    record
    2022-01-05 · diff ↗
  • 1.6.4
    record
    2021-12-14 · diff ↗
  • 1.6.3
    record
    2021-09-09 · diff ↗
  • 1.6.2
    record
    2021-08-18 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.6.1
    record
    2021-05-07 · diff ↗
  • 1.6.0
    record
    2021-04-23 · diff ↗
  • 1.5.5
    record
    2021-01-13 · diff ↗
  • 1.5.4
    record
    2020-06-06 · diff ↗
  • 1.5.3.1
    record
    2020-05-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.5.2
    record
    2019-09-11 · diff ↗ ·
    added 1 export
    randomPort
  • R
    R 3.6.0 released · 2019-04-26
  • 1.5.1
    record
    2019-04-06 · diff ↗
  • 1.5.0
    record
    2019-03-15 · diff ↗ ·
    added 5 exports
    WebSocket, excludeStaticPath, listServers, staticPath, staticPathOptions
  • 1.4.5.1
    record
    2018-12-18 · diff ↗
  • 1.4.5
    record
    2018-07-19 · diff ↗
  • 1.4.4.2
    record
    2018-07-03 · diff ↗
  • 1.4.4.1
    record
    2018-06-19 · diff ↗ ·
    added 1 export
    ipFamily
  • 1.4.3
    record
    2018-05-10 · diff ↗
  • 1.4.2
    record
    2018-05-04 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.4.1
    record
    2018-04-21 · diff ↗
  • 1.4.0
    record
    2018-04-19 · diff ↗ ·
    added 1 export
    stopAllServers
  • unarchivedReturned to CRAN
    2018-03-02
  • 1.3.6.2
    record
    2018-03-02 · diff ↗
  • 1.3.6.1
    record
    2018-02-28 · diff ↗
  • orphanedOrphaned by its maintainer
    2018-02-27
    check problems were not corrected despite reminder Use of non-portable flags suppressing warnings. Linux and macOS ones have been removed
  • 1.3.6
    record
    2018-02-27 · diff ↗
  • 1.3.5
    record
    2017-07-04 · diff ↗ ·
    added 1 export
    getRNGState
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3.3
    record
    2015-08-04 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.3.2
    record
    2014-10-23 · diff ↗ ·
    removed 1 export
    WebSocket
    added 4 exports
    decodeURI, decodeURIComponent, encodeURI, encodeURIComponent
  • R
    R 3.1.0 released · 2014-04-10
  • 1.3.0
    record
    2014-04-04 · diff ↗ ·
    added 2 exports
    startDaemonizedServer, stopDaemonizedServer
  • 1.2.3
    record
    2014-02-19 · diff ↗
  • 1.2.2
    record
    2014-01-31 · diff ↗ ·
    added 1 export
    rawToBase64
  • 1.2.1
    record
    2013-12-07 · diff ↗
  • 1.2.0
    record
    2013-10-14 · diff ↗
  • 1.1.0
    record
    2013-08-22 · diff ↗ ·
    added 1 export
    interrupt
  • 1.0.6.3
    record
    2013-06-01 · diff ↗ ·
    added 1 export
    startPipeServer
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0.5
    record
    2013-03-11
  • R
    R 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")
Chang, W., Berkeley Software Design Inc., Emergya (Cloud4all, FP7/2007-2013, grant agreement no 289016), Google, Inc., Internet Systems Consortium, Inc., Joyent, Inc. and other Node contributors, Posit, PBC, Sony Mobile Communcations AB, Trantor Standard Systems, libuv project contributors, Brown, J., Chemeris, A., Cheng, J., Corrada Bravo, H., Krzemienski, A., MacKay, K., Ooms, J., Peslyak, A., Provos, N., Reid, S., Sysoev, I., & Trower, B. (2026). httpuv: HTTP and WebSocket Server Library (Version 1.6.17) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for httpuv version 1.6.17 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy