Skip to contents

Compiling and running Rust code

rust_source() rust_function()
Compile Rust code and call from R
rust_eval()
Evaluate Rust code
eng_extendr() eng_extendrsrc()
Knitr engines

Package development

use_extendr()
Set up a package for use with Rust extendr code
use_crate()
Add dependencies to a Cargo.toml manifest file
document()
Compile Rust code and generate package documentation.
register_extendr()
Register the extendr module of a package with R
write_license_note()
Generate LICENSE.note file.
clean()
Clean Rust binaries and package cache.
cran
CRAN compliant extendr packages
vendor_pkgs()
Vendor Rust dependencies
use_msrv()
Set the minimum supported rust version (MSRV)

Various utility functions

to_toml()
Convert R list() into toml-compatible format.
make_module_macro()
Generate extendr module macro for Rust source
rust_sitrep()
Report on Rust infrastructure
read_cargo_metadata()
Retrieve metadata for packages and workspaces