clean | R Documentation |
Removes Rust binaries (such as .dll
/.so
libraries), C wrapper object files,
invokes cargo clean
to reset cargo target directory
(found by default at pkg_root/src/rust/target/
).
Useful when Rust code should be recompiled from scratch.
clean(path = ".", echo = TRUE)
path |
character scalar, path to R package root. |
echo |
logical scalar, should cargo command and outputs be printed to
console (default is |
character vector with names of all deleted files (invisibly).
## Not run:
clean()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.