Single-Producer Single-Consumer Channels
Overview
Provides a single-producer single-consumer channel with bounded capacity, optional timeouts on receives, and sentinel return values for full, timeout, and closed states. The ring buffer is implemented in C: sends and receives are constant-time operations, values are delivered in first-in first-out order, and a closed channel drains its buffered values before reporting the closed state. The transport is in-process: both ends of a channel live in the calling R process, which suits the channel to prototyping producer and consumer designs and to testing channel-based logic.
- Initial CRAN submission.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK5 OK2026-10-01
Documentation
- Help pages
- 6
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/shikokuchuo/mizu-r on 2026-10-21.
Dependencies
Installing mizu adds no packages beyond those that come with R.
Code & Tests
People & History
- 0.0.1Latest2026-09-30 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-09-30
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 8.6 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mizu")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.