stub.tests | R Documentation |
This function will parse all of the functions defined in files inside
of the lib
directory and will generate a trivial unit test for
each function. The resulting tests are stored in the file
tests/autogenerated.R
. Every test is excepted to fail by default,
so you should edit them before calling test.project
.
stub.tests()
No value is returned; this function is called for its side effects.
library('ProjectTemplate')
## Not run: stub.tests()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.