Description Usage Arguments Details See Also Examples
These convenience functions should be useful for anyone working on the AnalysisSuite codebase.
reload_analysis_suite
will unload the nat.as
package and reload
it, thereby reloading the whole of AnalysisSuite. The expected use case is
when AnalysisSuite code is being modified by a developer and s/he wants to
quickly reload any changes.
Run AnalysisSuite tests
1 2 3 | reload_analysis_suite()
test_analysis_suite(testdirs = NULL, browse = is.null(testdirs))
|
testdirs |
Character vector of relative paths to test directory. Defaults to running all tests when NULL. |
browse |
Load html summary of test results in web browser. |
test_analysis_suite
will run a set of RUnit
tests for the code.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(nat.as)
# use
# spot a bug
# hack the code
reload_analysis_suite()
# test the fix
test_analysis_suite()
# repeat ...
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.