7 releases (4 breaking)

0.7.1 Sep 5, 2024
0.7.0 Jun 29, 2024
0.6.0 Oct 6, 2023
0.4.0 Feb 26, 2023
0.2.0 Feb 21, 2021

#62 in FFI

Download history 165/week @ 2024-07-29 374/week @ 2024-08-05 282/week @ 2024-08-12 305/week @ 2024-08-19 400/week @ 2024-08-26 399/week @ 2024-09-02 381/week @ 2024-09-09 302/week @ 2024-09-16 162/week @ 2024-09-23 275/week @ 2024-09-30 325/week @ 2024-10-07 205/week @ 2024-10-14 140/week @ 2024-10-21 276/week @ 2024-10-28 315/week @ 2024-11-04 358/week @ 2024-11-11

1,105 downloads per month

MIT license

7KB
56 lines

extendr-engine

This crate facilitates embedding an R process together with a standalone binaries. In rust-powered R-packages, the R code calls Rust, and thus there is already an accompanying R process. Instead, this is meant to be used in unit tests, integration test and binaries that are standalone from R code.

This crate does not adhere to the non-API requirements of CRAN.

Using it in R-packages

Within Cargo.toml add extendr-engine under dev-dependencies.

[dev-dependencies]
extendr-engine = "*"

Then, you may use extendr_engine within unit tests, integration tests, and binaries. If extendr-engine is added under [dependencies], then the surrounding R-package will flag a CRAN note about non-API usage.

About

See documentation on doc.rs, or the latest development version on extendr website.

This crate is similar in spirit as {Rinside}, on CRAN.

Dependencies

~4.5MB
~109K SLoC