Compare vectors and report discrepancies via stop(). This is useful at the beginning of a pipeline, where it is important to check whether critical variables/inputs have been defined.
1 | checkVarsStop(have, need)
|
have |
vector of elements. Call the function passing ls() here. |
need |
vector of elements. Call the function specifying all the required variables here. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.