assert_scalar | R Documentation |
Assert an element is atomic and length 1
assert_scalar(x)
x |
[any] Element to check |
[none] stop if assertion fails
Other assertions:
assert_dir_exists()
,
assert_named_list()
,
assert_scalar_not_empty()
,
assert_type()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.