clean: Clean Rust binaries and package cache.

View source: R/clean.R

cleanR 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 = ".")

Arguments

path

[ string ] Path to the package root.


rextendr documentation built on July 9, 2023, 5:54 p.m.