Generate Port Files for C Libraries
Overview
Generate port files for foreign function interfaces to C libraries by parsing C-family header files with 'CastXML'.
- Initial CRAN submission.
- Generate rdyncall-compatible dynport files from CastXML output, including functions, variadic functions, function pointer typedefs, enums, structs, and unions.
- Preserve ABI-relevant aggregate details where they can be represented in rdyncall dynport syntax, including fixed arrays, bitfields, packed/aligned layout annotations, and opaque fallbacks with diagnostics.
- Report unsupported function-like macros from CastXML preprocessor output instead of generating callable dynport entries.
- Locate user-installed CastXML executables without downloading or installing external binaries.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-07-01
Documentation
- Help pages
- 9 (2 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check (8 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- 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
Releases over time
Issues over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/hongyuanjia/porter on 2026-10-21.
The R CMD check workflow runs on Linux
Dependencies
Code & Tests
People & History
- 0.1.0Latest2026-06-30 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-30
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6.0
- Download size
- 35 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("porter")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.