zigimports: Call 'Zig' Code from R

Loads shared libraries compiled from 'Zig' ('.so' files on Linux, '.dll' files on Windows) and binds their exported functions to R functions. Arguments are passed by value using the native calling convention, so functions with mixed integer, double, logical, string and vector arguments and with return values can be called. Also compiles and runs 'Zig' code directly from R. Compiling code requires the 'Zig' compiler.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Suggests: testthat (≥ 3.0.0)
Published: 2026-10-27
DOI: 10.32614/CRAN.package.zigimports
Author: Lakshya Sharma [aut, cre], Amrit Pal [aut]
Maintainer: Lakshya Sharma <lakshya6115 at gmail.com>
BugReports: https://github.com/lokop5116/zigimports/issues
License: GPL-3
URL: https://github.com/lokop5116/zigimports
NeedsCompilation: yes
SystemRequirements: 'Zig' compiler (>= 0.11), only needed for zig_call() and to build libraries
Materials: NEWS
CRAN checks: zigimports results

Documentation:

Reference manual: zigimports.html , zigimports.pdf

Downloads:

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

Linking:

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