Crates.io | extendr-engine |
lib.rs | extendr-engine |
version | 0.7.1 |
source | src |
created_at | 2021-02-21 22:32:03.939807 |
updated_at | 2024-09-05 11:49:24.821325 |
description | Safe and user friendly bindings to the R programming language. |
homepage | |
repository | https://github.com/extendr/extendr |
max_upload_size | |
id | 358690 |
size | 6,962 |
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.
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.
See documentation on doc.rs, or the latest development version on extendr website.
This crate is similar in spirit as {Rinside}
, on CRAN.