expect_registry | R Documentation |
Test expectation of whether a TRN come from a particular registry using for known true TRNs and TRN errors.
expect_registry(object, reg, match_expected = TRUE)
object |
Character. Text to test |
reg |
Character. Name of registry to test |
match_expected |
Logical. Whether object should match registry. 'TRUE' for true positives. 'FALSE' for true negatives. |
## Not run: expect_registry("PER-093-09", "REPEC", match_expected = TRUE)
## Not run: expect_registry("cucumber", "REPEC", match_expected = TRUE)
## Not run: expect_registry("cucumber", "REPEC", match_expected = FALSE)
## Not run: expect_registry("PER-093-09", "REPEC", match_expected = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.