| request_authorization | R Documentation |
Pauses execution and prompts the user for permission to execute a potentially
risky action. Supports console environments via readline.
request_authorization(action, risk_level = "YELLOW")
action |
Character string describing the action the Agent wants to perform. |
risk_level |
Character string. One of "GREEN", "YELLOW", "RED". |
Logical TRUE if user permits, otherwise throws an error with the rejection reason.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.