ask_do: Ask first and run

Description Usage Arguments Value Author(s)

View source: R/asks.R

Description

Ask first and run the FUN to avoid any unwanted automatic action in a script.

Usage

1
ask_do(what, FUN, yes = FALSE)

Arguments

what

the text description of what FUN is for

FUN

the script to be excuted

yes

for running in a script. If 'yes' is TRUE, then 'FUN' will be excuted without asking

Value

if 'y' was given for the question, then output of FUN. Otherwise, NULL will be returned.

Author(s)

Mun-Gwan Hong, mungwan@gmail.com


Rundmus/Useful2me-R_package documentation built on Nov. 13, 2020, 4:16 p.m.