Description Usage Arguments Value
View source: R/testing_blocks.R
Extract the content of a testing block as a character vector of lines. The name, which is attached as an attribute is taken from the info string or inferred by location, see Details.
1 2 3 4 | extract_test_block(
id = all_tagged_iff_block_ids(pd, .testing.tags),
pd = get("pd", parent.frame())
)
|
id |
iff block id, not the content |
pd |
a parse-data object. |
a character vector with the lines for the specific test(s) with the name of the test included as an attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.