Tests the coverage of a spotter function
a spotter function
a vector of character test data
whether to also list strings to which the spotter returns FALSE
This is a test function to runs a spotter function over a set of strings
and reports which strings are spotted and which are not. It's mostly useful
to ensure that any regular expressions given to
spotter (i.e. when
re=TRUE) have the
right coverage before using the spotter function to select events from your data.
the elements of
data that the spotter spots, i.e. returns TRUE to, and
also optionally the elements which the spotter ignores, i.e. returns FALSE to.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.