Package: zuffi 0.0.0.9000
zuffi: Call C and Rust Libraries from R Without Glue Code
Calls functions in shared libraries that were never built for 'R', with no wrapper code and no compiler on the user's machine. Functions are declared from their C declarations, or read from a header, and called through 'libffi'. 'Rust' crates annotated for 'UniFFI' load with bindings generated when the crate is built. Every conversion between an 'R' value and a C value is exact or raises an error.
Authors:
zuffi_0.0.0.9000.tar.gz
zuffi_0.0.0.9000.zip(r-4.7-x86_64)zuffi_0.0.0.9000.zip(r-4.7-arm64)zuffi_0.0.0.9000.zip(r-4.6-x86_64)zuffi_0.0.0.9000.zip(r-4.6-arm64)zuffi_0.0.0.9000.zip(r-4.5-x86_64)
zuffi_0.0.0.9000.tgz(r-4.6-x86_64)zuffi_0.0.0.9000.tgz(r-4.6-arm64)zuffi_0.0.0.9000.tgz(r-4.5-x86_64)zuffi_0.0.0.9000.tgz(r-4.5-arm64)
zuffi_0.0.0.9000.tar.gz(r-4.7-arm64)zuffi_0.0.0.9000.tar.gz(r-4.7-x86_64)zuffi_0.0.0.9000.tar.gz(r-4.6-arm64)zuffi_0.0.0.9000.tar.gz(r-4.6-x86_64)
zuffi_0.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zuffi/json (API)
| # Install 'zuffi' in R: |
| install.packages('zuffi', repos = c('https://pedrobtz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pedrobtz/zuffi/issues
Pkgdown/docs site:https://pedrobtz.github.io
Last updated from:4cb5dcf2b9. Checks:12 OK, 3 ERROR. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 180 | ||
| linux-devel-x86_64 | OK | 200 | ||
| source / vignettes | OK | 197 | ||
| linux-release-arm64 | OK | 201 | ||
| linux-release-x86_64 | OK | 199 | ||
| macos-release-arm64 | ERROR | 117 | ||
| macos-release-x86_64 | OK | 468 | ||
| macos-oldrel-arm64 | OK | 177 | ||
| macos-oldrel-x86_64 | OK | 315 | ||
| windows-devel-arm64 | ERROR | 441 | ||
| windows-devel-x86_64 | OK | 216 | ||
| windows-release-arm64 | ERROR | 436 | ||
| windows-release-x86_64 | OK | 233 | ||
| windows-oldrel-x86_64 | OK | 198 | ||
| wasm-release | OK | 102 |
Exports:ffi_argffi_callbackffi_castffi_cdefffi_closeffi_constantsffi_dlopenffi_dlsymffi_errnoffi_freeffi_functionsffi_inffi_includeffi_inoutffi_last_errorffi_newffi_offsetofffi_outffi_ownffi_ownedffi_sizeofffi_stringuniffi_loadzuffi_info
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| A typed argument for a variadic function | ffi_arg |
| R functions as C function pointers | ffi_callback |
| Declare C functions, types and constants | ffi_cdef |
| The constants a handle knows | ffi_constants |
| Open, look into and close a shared library | ffi_close ffi_dlopen ffi_dlsym |
| The C library's error codes after a call | ffi_errno ffi_last_error |
| The functions a handle declares | ffi_functions |
| Annotations: what a C declaration cannot say | ffi_in ffi_inout ffi_out ffi_owned |
| Declare a C library from its header | ffi_include |
| Allocate C memory | ffi_new |
| Sizes and member offsets of C types | ffi_offsetof ffi_sizeof |
| Load a Rust crate built with UniFFI | uniffi_load |
| What this build of zuffi has | zuffi_info |
| Pointers: casts, strings, ownership and freeing | ffi_cast ffi_free ffi_own ffi_string zuffi_ptr |
