NEWS
savvy 0.0.5
savvy_source() now uses use_cache_dir = TRUE by default because
use_cache_dir = FALSE no longer works for some reason.
savvy 0.0.4
savvy_source() has a new argument dependencies, which you can specify the
additional dependencies in the form of:
dependencies = list(foo = list(version = "1", features = c("a", "b")))
savvy 0.0.3
- Fix the download URL of
download_savvy_cli() on Linux and macOS.
- New function
savvy_source() compiles Rust code and makes it temporarily
available on the R session.
savvy_source('
use savvy::savvy;
#[savvy]
fn hello() -> savvy::Result<()> {
savvy::r_println!("Hello!!!!!!");
Ok(())
}
')
hello()
#> Hello!!!!!!