artRun | R Documentation |
Runs allelematch regression tests to make sure it is backwards compatible.
The full set of tests will take a couple of minutes.
Call artList to see the available tests with without running them.
artRun(filter = "", verbose = TRUE)
filter |
If specified, only tests with names matching this perl regular expression will be executed. Character vector of length 1. See also artList |
verbose |
logical. If TRUE, prints version of tested allelematch to stdout |
If any of the test executed with artRun should fail, then we want to be able
to run that specific test under the debugger. Character vector of length one.
Set a breakpoint in allelematch.R
and call artRun(filter="<the test that reproduces the problem>")
Note that it is the last installed version of allelematch
that will be executed,
not the last edited. In RStudio, CTRL+SHIFT+B will build and install.
A list (invisibly) containing data about the test results as returned by testthat::test_package
artVersion and artList
# See what version of packages 'allelematch' and 'amregtest'
# are currently installed:
artVersion()
# List the available tests:
artList()
# Run all the tests:
# artRun() # Takes several minutes
# Run the first of the available tests:
artRun(filter="allelematch_1-amDataset$")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.