clean {rextendr} | R Documentation |
Clean Rust binaries and package cache.
Description
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.
Usage
clean(path = ".", echo = TRUE)
Arguments
path |
character scalar, path to R package root. |
echo |
logical scalar, should cargo command and outputs be printed to
console (default is |
Value
character vector with names of all deleted files (invisibly).
Examples
## Not run:
clean()
## End(Not run)
[Package rextendr version 0.4.1 Index]