set_confirm {tagr} | R Documentation |
Set confirmation prompt for deleting objects
Description
This function sets the confirmation prompt for the rm_bytag
function
when deleting objects with a specified tag.
Usage
set_confirm(confirm = NULL)
Arguments
confirm |
A logical value indimessageing whether to prompt for confirmation before deleting objects. If |
Value
If confirm
is NULL
, the current setting for the confirmation prompt is returned. Otherwise, the confirmation prompt setting is updated.
Examples
# turn on confirmation prompt
set_confirm(TRUE)
# turn off confirmation prompt
set_confirm(FALSE)
# get current confirmation prompt setting
set_confirm()
[Package tagr version 1.0.1 Index]