This function uses the mc command to remove files or directories
at the specified target location.
Arguments
- target
Character string specifying the target file or directory path to be removed.
- recursive
Logical indicating whether to recursively remove directories. Default is
FALSE.- flags
Additional flags to be passed to the
rmcommand. Default is an empty string.- verbose
Logical indicating whether to list files removed. Default is
FALSE.
Value
Returns the list from processx::run(), with components status,
stdout, stderr, and timeout; invisibly.