Description Usage Arguments Value
View source: R/markup2vector.R
Checks if pandoc language can be compiled given local tex distribution.
1 2 3 4 5 6 7 | check_latex_lang(x)
expect_latex_lang(x, info = NULL, label = vname(x))
test_latex_lang(x)
assert_latex_lang(x, .var.name = checkmate::vname(x), add = NULL)
|
x |
|
.var.name |
[ |
add |
[ |
Depending on the function prefix:
If the check is successful, the functions
assertVector
/assert_vector
return
x
invisibly, whereas
checkVector
/check_vector
and
testVector
/test_vector
return
TRUE
.
If the check is not successful,
assertVector
/assert_vector
throws an error message,
testVector
/test_vector
returns FALSE
,
and checkVector
returns a string with the error message.
The function expect_vector
always returns an
expectation
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.