Create the scaffolding needed to add Rust extendr code to an R package.
adds a small Rust library with a single Rust function that returns the string
"Hello world!". It also adds wrapper code so this Rust function can be called from
File path to the package for which to generate wrapper code.
Logical indicating whether any progress messages should be
generated or not. Also checks the
To avoid possibly messing up your R package,
use_extendr() will not do anything if
either a directory
src or a file
R/extendr-wrappers.R is already present in your
A logical value (invisible) indicating whether any package files were generated or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.