check_format | R Documentation |
check_format(x, len = NULL, min.len = NULL, max.len = NULL)
assert_format(
x,
len = NULL,
min.len = NULL,
max.len = NULL,
.var.name = checkmate::vname(x),
add = NULL
)
test_format(x, len = NULL, min.len = NULL, max.len = NULL)
expect_format(
x,
len = NULL,
min.len = NULL,
max.len = NULL,
info = NULL,
label = vname(x)
)
x |
[any] |
len |
[ |
min.len |
[ |
max.len |
[ |
.var.name |
[ |
add |
[ |
info |
[ |
label |
[ |
TRUE
if successful, otherwise a string with the error message.
assertions
for more details.
check_format("%5.2f")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.