You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adds WebR support out of the box for all extendr packages.
Note that not all Rust crates are wasm compatible. This change only enables the package to build in the wasm32-unknown-emscripten target. It does not guarantee all dependencies will compile.
Addresses new CRAN check in R 4.5+ adding warning for _abort usage
Removes Makevars.ucrt as R versions < 4.1 are not supported by extendr #414
document() will no longer try to save all open files using rstudioapi #404#407
use_cran_default() has been removed as the default package template is CRAN compatible #394
use_extendr() now creates tools/msrv.R, configure and configure.win. These have been moved out of use_cran_defaults()#393
Makevars now prints linked static libraries at compile time by adding --print=native-static-libs to RUSTFLAGS#393
use_extendr() sets the DESCRIPTION's SystemRequirements field according to CRAN policy to Cargo (Rust's package manager), rustc (#329)
Introduces new functions 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).
Fixes an issue in pre-defined set of known features: added either (#338)
create_extendr_package() allows user to create project directory using RStudio's Project Command. (#321)
Removed use_try_from as an option in rust_function, and added use_rng (#354)
Added use_crate() function to make adding dependencies to Cargo.toml easier within R, similar to usethis::use_package() (#361)
Fixed an issue in rust_source() family of functions that prevented usage of r# escape sequences in Rust function names (#374)
use_cran_defaults() now checks the SystemRequirements field in the DESCRIPTION file for cargo and rustc. It will display installation instructions if either is missing or provide the minimum required version if the installed version is outdated.
Added use_msrv() to aid in specifying the minimum supported rust version (MSRV) for an R package
Added read_cargo_metadata() to retrieve Cargo metadata for packages and
workspaces. (#389)
rustup_sitrep() now checks if a default toolchain has been set. #416