Skip to content

nanonext

1.10.3Package record

Lightweight Toolkit for Messaging, Concurrency and the Web

8packages dependsuggested by 6
773.9Kdownloads / year
53.3%test coverage
13/13flavors OK

Overview

About

R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. A toolkit for messaging, concurrency and the web. High-performance socket messaging over in-process, IPC, TCP, WebSocket and secure TLS transports implements 'Scalability Protocols', a standard for common communications patterns including publish/subscribe, request/reply and survey. A threaded concurrency framework with intuitive 'aio' objects that resolve automatically upon completion of asynchronous operations, and synchronisation primitives that allow R to wait on events signalled by concurrent threads. A unified HTTP server hosting REST endpoints, WebSocket connections and streaming on a single port, with a built-in HTTP client.

Changes in 1.10.3

New Features

  • Implements the _server.yml standard for R server frameworks, allowing deployment platforms to launch nanonext HTTP/WebSocket servers without knowledge of the package internals (thanks @JosiahParry, #349).

Updates

  • Fixes an erroring unserialization hook (ufunc) halting non-interactive R processes; the object now unserializes as an 'errorValue' (#356).
  • Our configure script now requires a system 'libmbedtls' 3.x, falling back to the bundled build when an incompatible version is detected (#350).
  • Our configure script now checks a detected system 'libnng' for working TLS support, falling back to the bundled build otherwise (#353).
  • Fixes a ncurl() process crash when following a redirect to an unsupported URL (#351).
  • Fixes a blocking TLS dial() failure, e.g. connection refused, causing a process crash (#346).
  • stop_aio() no longer resets the R interrupt state.
  • http_server() now normalizes the request URI before it reaches a handler. For example, a request for /../../outside.txt arrives as /outside.txt. This normalization applies to all handler types: static file and directory handlers, and R handler() callbacks.
  • Updates the bundled 'libnng' to v1.12.3, which includes upstream security fixes that:
  • block path traversal attacks at the HTTP server,
Show all changes in 1.10.3Hide the rest of the changes in 1.10.3
  • prevent a crash of the HTTP client when it receives a malformed chunked message,
  • reject unreasonably large message sizes, and
  • limit memory use for websocket connections that receive many small frames.
  • Increases the minimum supported system libnng version to >= v1.12.3.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-24
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-13
  • ERROR12 OK, 1 ERROR2026-08-12
  • OK13 OK2026-08-05
Show 9 earlier changesHide 9 earlier changes
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-23
  • ERROR13 OK, 1 ERROR2026-04-21
  • OK14 OK2026-04-09
  • WARNING8 OK, 6 WARNING2026-03-30
  • ERROR8 OK, 5 WARNING, 1 ERROR2026-03-29
  • WARNING9 OK, 4 NOTE, 1 WARNING2026-03-21
  • NOTE13 OK, 1 NOTE2026-03-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.10.3
READMEYes · 382 wordsVignettesYes · 5 · staticNEWSYes · 100% structured · mentions 1.10.3Citation fileNoWebsiteYes · pkgdown
Help pages
78 (15 internal)includes a package overview page
Examples that run
98%51 run in a plain check (6 of them under a condition) · 1 never run
Exported functions with examples
73%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
0%

Downloads

773.9K
CRAN downloads in the past year
Rank #484 · ~2.1K/day · ~64.5K/mo
Daily download trend is not available in this view yet.
45K30 days
155.2K90 days
773.9K1 year
Compare downloads with other packages →
Also on37K r2u10 autocran15.3K conda_forge27 c2d4u

Repository

85Stars
14Forks
3Open issues
3Open PRs
61Releases
1,969Commits
4Commit identities
rsocket-communicationmessaging-librarysynchronization-primitiveswebsocketrpcconcurrencyipc-message
1,969 commits · Last activity 2026-10-19 · +1.2% stars, 30d · Default branch at 1.10.3.9000, ahead of CRAN 1.10.3 (checked 2026-10-21) · Discussions: 9 posts
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-05 · 742026-10-25 · 85
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/r-lib/nanonext on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-19 · The repository has a site deploy workflow

pkgdown site last built 2026-09-23

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (2)
AirRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-10-14
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing nanonext adds no packages beyond those that come with R.

Depends (1)
R >= 3.6
Imports (0)
none
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
8direct
130indirect
Imports 8
Suggested by 6
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (9)
Author, Maintainer since 0.1.0 (2022)
Copyright holder · added in 1.9.0
NNG library
Copyright holder · added in 0.5.1
Copyright holder, Funder · added in 1.6.0
Copyright holder · added in 1.9.0
NNG library
Copyright holder · added in 1.9.0
Mbed TLS library
Copyright holder · added in 1.9.0
Serialization hooks
Copyright holder · added in 1.9.0
RngStreams library
Funder · added in 0.9.1
Listed in earlier versions (1)
Ling Li
no longer listed · 0.1.0 to 0.5.2
Releases (59)

Pick two releases to compare their code metrics.

  • 1.10.3Latest
    record
    2026-09-23 · current release · diff ↗ ·
    added 1 export
    .suspend_interrupts
  • 1.10.2
    record
    2026-08-04 · diff ↗
  • 1.10.1
    record
    2026-07-09 · diff ↗ ·
    added 1 export
    run_event_loop
  • 1.10.0
    record
    2026-06-01 · diff ↗ ·
    added 1 export
    device_aio
  • 1.9.1
    record
    2026-06-01 · diff ↗ ·
    removed 1 export
    .dispatcher
  • 1.9.0
    record
    2026-05-04 · diff ↗ ·
    removed 1 export
    messenger
    added 7 exports
    .dispatcher_capacity, .dispatcher_gate, .dispatcher_info, .dispatcher_start, .dispatcher_stop, .dispatcher_try_gate, .dispatcher_wait
  • R
    R 4.6.0 released · 2026-04-24
  • 1.8.2
    record
    2026-04-04 · diff ↗ ·
    removed 2 exports
    .read_header, .read_marker
  • 1.8.1
    record
    2026-03-08 · diff ↗
  • 1.8.0
    record
    2026-02-09 · diff ↗ ·
    added 11 exports
    .dispatcher, format_sse, handler, handler_directory, handler_file, handler_inline, handler_redirect, handler_stream, handler_ws, http_server, race_aio
  • 1.7.2
    record
    2025-11-03 · diff ↗
  • 1.7.1
    record
    2025-10-01 · diff ↗ ·
    removed 1 export
    .interrupt
  • 1.7.0
    record
    2025-09-01 · diff ↗ ·
    added 1 export
    stop_request
  • 1.6.2
    record
    2025-07-14 · diff ↗
  • 1.6.1
    record
    2025-06-23 · diff ↗ ·
    removed 1 export
    .header
  • 1.6.0
    record
    2025-05-20 · diff ↗ ·
    removed 1 export
    lock
    added 7 exports
    .header, .read_header, .read_marker, ip_addr, pipe_id, read_stdin, write_stdout
Show 49 earlier eventsHide 49 earlier events
  • R
    R 4.5.0 released · 2025-04-11
  • 1.5.2
    record
    2025-03-18 · diff ↗
  • 1.5.1
    record
    2025-02-17 · diff ↗ ·
    removed 1 export
    unlock
  • 1.5.0
    record
    2025-01-28 · diff ↗ ·
    removed 2 exports
    .dispatcher, .online
  • 1.4.0
    record
    2024-12-03 · diff ↗ ·
    removed 1 export
    collect_pipe
    added 3 exports
    .interrupt, monitor, read_monitor
  • 1.3.2
    record
    2024-11-14 · diff ↗
  • 1.3.1
    record
    2024-11-13 · diff ↗ ·
    removed 1 export
    set_promise_context
  • 1.3.0
    record
    2024-10-04 · diff ↗ ·
    removed 1 export
    next_config
    added 3 exports
    .dispatcher, .keep, .online
  • 1.2.1
    record
    2024-08-19 · diff ↗
  • 1.2.0
    record
    2024-08-17 · diff ↗ ·
    added 5 exports
    .advance, .mark, collect_pipe, is_ncurl_session, serial_config
  • 1.1.1
    record
    2024-06-24 · diff ↗ ·
    removed 5 exports
    base64dec, base64enc, recv_aio_signal, request_signal, strcat
  • 1.1.0
    record
    2024-06-04 · diff ↗ ·
    added 2 exports
    collect_aio, collect_aio_
  • 1.0.0
    record
    2024-05-02 · diff ↗ ·
    added 1 export
    set_promise_context
  • R
    R 4.4.0 released · 2024-04-24
  • 0.13.5.2
    record
    2024-04-06 · diff ↗
  • 0.13.5.1
    record
    2024-04-05 · diff ↗ ·
    removed 4 exports
    sha224, sha256, sha384, sha512
  • 0.13.2
    record
    2024-03-01 · diff ↗
  • 0.13.0
    record
    2024-02-07 · diff ↗ ·
    removed 1 export
    sha1
  • 0.12.0
    record
    2024-01-10 · diff ↗ ·
    removed 1 export
    .until
  • 0.11.0
    record
    2023-12-04 · diff ↗ ·
    removed 4 exports
    nextmode, weakref, weakref_key, weakref_value
    added 5 exports
    %~>%, call_aio_, next_config, until_, wait_
  • 0.10.4
    record
    2023-11-03 · diff ↗ ·
    added 2 exports
    .until, nextmode
  • 0.10.2
    record
    2023-09-27 · diff ↗
  • 0.10.1
    record
    2023-09-26 · diff ↗ ·
    added 1 export
    reap
  • 0.10.0
    record
    2023-09-01 · diff ↗ ·
    removed 1 export
    device
    added 1 export
    ncurl_aio
  • 0.9.2
    record
    2023-08-07 · diff ↗ ·
    removed 1 export
    timed_signal
  • 0.9.1
    record
    2023-07-13 · diff ↗ ·
    added 5 exports
    strcat, weakref, weakref_key, weakref_value, write_cert
  • 0.9.0
    record
    2023-05-29 · diff ↗ ·
    removed 1 export
    nanonext_version
    added 1 export
    tls_config
  • 0.8.3
    record
    2023-05-07 · diff ↗ ·
    added 4 exports
    .context, cv_signal, nanonext_version, timed_signal
  • R
    R 4.3.0 released · 2023-04-21
  • 0.8.2
    record
    2023-04-15 · diff ↗ ·
    removed 2 exports
    weakref<-, msg_pipe
    added 2 exports
    lock, unlock
  • 0.8.1
    record
    2023-03-27 · diff ↗ ·
    added 12 exports
    weakref<-, .unresolved, cv, cv_reset, cv_value, msg_pipe, pipe_notify, recv_aio_signal, request_signal, sha1, until, wait
  • 0.8.0
    record
    2023-03-03 · diff ↗ ·
    removed 2 exports
    getopt, setopt
    added 4 exports
    opt<-, opt, parse_url, stat
  • 0.7.3
    record
    2023-01-22 · diff ↗ ·
    removed 1 export
    nano_init
    added 2 exports
    ncurl_session, transact
  • 0.7.2
    record
    2022-12-12 · diff ↗
  • 0.7.1
    record
    2022-11-16 · diff ↗ ·
    added 1 export
    getopt
  • 0.7.0
    record
    2022-11-07 · diff ↗ ·
    added 1 export
    status_code
  • 0.6.0
    record
    2022-10-10 · diff ↗ ·
    removed 2 exports
    .mirai_scm, .mirai_scm2
    added 2 exports
    base64dec, base64enc
  • 0.5.5
    record
    2022-09-05 · diff ↗ ·
    added 1 export
    .mirai_scm2
  • 0.5.4
    record
    2022-09-02 · diff ↗ ·
    added 4 exports
    sha224, sha256, sha384, sha512
  • 0.5.3
    record
    2022-08-08 · diff ↗
  • 0.5.2
    record
    2022-07-07 · diff ↗ ·
    added 4 exports
    device, mclock, msleep, random
  • 0.5.1
    record
    2022-06-10 · diff ↗
  • 0.5.0
    record
    2022-05-10 · diff ↗ ·
    removed 3 exports
    logging, recv_ctx, send_ctx
    added 2 exports
    is_aio, is_nano
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2022-04-10 · diff ↗ ·
    added 3 exports
    messenger, nano_init, stream
  • 0.3.0
    record
    2022-03-10 · diff ↗ ·
    removed 3 exports
    nng_timer, recv_vec, send_vec
    added 6 exports
    .mirai_scm, is_error_value, is_nul_byte, logging, survey_time, unresolved
  • 0.2.0
    record
    2022-02-10 · diff ↗ ·
    removed 6 exports
    ctx_recv, ctx_recv_vec, ctx_send, ctx_send_vec, recv_vec_aio, send_vec_aio
    added 8 exports
    call_aio, ncurl, nng_timer, recv_ctx, reply, request, send_ctx, stop_aio
  • 0.1.0
    record
    2022-01-25
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-01-25
Total releases
59 / 4 yrs
License
MIT + file LICENSE OSI · relicensed from GPL (>= 3) in 1.6.0
Minimum R
≥ 3.6
Download size
911 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("nanonext")
Gao, C., Capitar IT Group BV, Hibiki AI Limited, Posit Software, PBC, R Consortium, Staysail Systems, Inc., The Mbed TLS Contributors, sakura authors, & L'Ecuyer, P. (2026). nanonext: Lightweight Toolkit for Messaging, Concurrency and the Web (Version 1.10.3) [Computer software]. https://doi.org/10.32614/CRAN.package.nanonext

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 nanonext version 1.10.3 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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