rzig: Safe Zig Bindings

Scaffolds packages backed by Zig and generates a safe native boundary for plain Zig functions. The generated integration converts objects at the language boundary, registers native routines, propagates errors, and compiles across platforms without requiring C++.

Version: 0.2.3
Suggests: knitr, rmarkdown
Published: 2026-09-12
DOI: 10.32614/CRAN.package.rzig
Author: Marek Deja ORCID iD [aut, cre]
Maintainer: Marek Deja <marek.deja at uj.edu.pl>
BugReports: https://github.com/MarekDejaUJ/rzig/issues
License: MIT + file LICENSE
URL: https://github.com/MarekDejaUJ/rzig
NeedsCompilation: no
SystemRequirements: Zig (>= 0.16.0), see https://ziglang.org/download/
Materials: README, NEWS
CRAN checks: rzig results

Documentation:

Reference manual: rzig.html , rzig.pdf
Vignettes: Porting a C++ hot loop from Rcpp to RZig (source, R code)

Downloads:

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

Linking:

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