use_extendr()
sets the DESCRIPTION
's SystemRequirements
field according to CRAN policy to Cargo (Rust's package manager), rustc
(#329)use_cran_defaults()
and vendor_pkgs()
to ease the publication of extendr-powered packages on CRAN. See the new article CRAN compliant extendr packages on how to use these (#320).rust_sitrep()
now better communicates the status of the Rust toolchain and available targets. It also guides the user through necessary installation steps to fix Rust setup (#318).use_extendr()
and document()
now set the SystemRequirements
field of the DESCRIPTION
file to
Cargo (rustc package manager)
if the field is empty (#298).use_extendr()
gets a new ability to overwrite existing rextendr templates (#292).use_extendr()
sets publish = false
in the [package]
section of the Cargo.toml
(#297).use_extendr()
correctly handles calls with path
not equal to "."
(current folder), or when there is no active {usethis}
project (#323).either
(#338)create_extendr_package()
allows user to create project directory using RStudio's Project Command. (#321)RTOOLS44
(#347)use_try_from
as an option in rust_function
, and added use_rng
(#354)Ilia Kosenkov is now the official maintainer.
Josiah Parry is now a contributor.
Support Rtools43 (#231).
rextendr
has migrated to the use of cli
for raising errors and warnings.
Developer note: new helper function local_quiet_cli()
introduced in R/utils.R
to simplify silencing cli output.
A new function rust_sitrep()
that prints out a short report on the currently installed Rust toolchain (#274).
A new function write_license_note()
to generate LICENSE.note
file from Cargo.toml
(#271).
extendr_fn_options
parameter of rust_source()
controls what type of options are emitted to #[extendr()]
attribute (#252).
use_dev_extendr
flag makes rust_source()
family of functions compile code using development version of extendr
.
Development configuration is stored as an option named rextendr.extendr_dev_deps
(#251).
features
parameter of rust_source()
now correctly enables features in extendr-api
and references required crates.
features
not available in release version of extendr
raises a warning (#249).
A <pkg_name>-win.def
file containing DLL exports is created by rextendr::use_extendr()
. It is used during linking phase on Windows and solves the problem of compiling very large projects, such as polars
(#212)
Support extendr macro with options (#128).
rust_source()
got features
argument to specify Cargo features to activate
(#140).
rextendr::document()
now sets the envvars that devtools::document()
sets,
e.g. NOT_CRAN
(#135).
First official release.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.