Skip to contents

rextendr 0.5.0

Added

Deprecated

Breaking

  • Complete overhaul of wrapper-generation. (#491)
    • use_extendr() now generates src/rust/document.rs and adds a [[bin]] target to Cargo.toml with crate-type = ["rlib", "staticlib"].
    • rust_eval() now returns extendr_api::error::Result<Robj>.
    • The header in R/extendr-wrappers.R has also been updated to reflect these changes, which required a concurrent PR to extendr (extendr/extendr#1048).
    • CI now uses the development version of extendr-api on GitHub.
    • Snapshot and other tests now reflect these changes.
    • Substantial updates to Roxygen documentation.

Fixed

  • Makevars(.win) now uses the vendor/, if it exists, before unzipping the tarball. (#479)
  • entrypoint.c now registers extendr’s panic handler. (#499)

Changed

  • callr has been removed as a dependency.

rextendr 0.4.2

CRAN release: 2025-08-26

rextendr 0.4.1

CRAN release: 2025-06-19

rextendr 0.4.0

CRAN release: 2025-05-02

rextendr 0.3.0

CRAN release: 2023-05-30

  • 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.

New features

  • 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).

rextendr 0.2.0

CRAN release: 2021-06-15

First official release.