mizu: Single-Producer Single-Consumer Channels

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.

Version: 0.0.1
Depends: R (≥ 4.1)
Suggests: testthat (≥ 3.0.0)
Published: 2026-09-30
DOI: 10.32614/CRAN.package.mizu
Author: Charlie Gao ORCID iD [aut, cre], Posit Software, PBC ROR ID [cph, fnd]
Maintainer: Charlie Gao <charlie.gao at posit.co>
BugReports: https://github.com/shikokuchuo/mizu-r/issues
License: MIT + file LICENSE
URL: https://github.com/shikokuchuo/mizu-r
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: mizu results

Documentation:

Reference manual: mizu.html , mizu.pdf

Downloads:

Package source: mizu_0.0.1.tar.gz
Windows binaries: r-devel: mizu_0.0.1.zip, r-release: not available, r-oldrel: mizu_0.0.1.zip
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): mizu_0.0.1.tgz, r-oldrel (x86_64): mizu_0.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mizu to link to this page.