View source: R/misc.utilities.R
A convenience wrapper to run code based on whether an environment variable is defined.
1 2 |
expr |
An expression to be evaluated only if |
testname |
Optional name of the test. If given, and the test is skipped, will print a message to that end, including the name of the test, and instructions on how to enable it. |
testvar |
Environment variable name. If set to one of the
|
yesvals |
A character vector of strings considered affirmative values
for |
lowercase |
Whether to convert the value of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.