View source: R/prompt-status.R
prompt_status | R Documentation |
A prompt that shows the status (OK or error) of the last expression
prompt_status(expr, value, ok, visible)
expr |
Evaluated expression. |
value |
Its value. |
ok |
Whether the evaluation succeeded. |
visible |
Whether the result is visible. |
prompt_status()
returns the prompt string.
Other example prompts:
new_prompt_powerline()
,
prompt_devtools()
,
prompt_fancy()
,
prompt_git()
,
prompt_mem()
,
prompt_runtime()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.