Description Usage Arguments Examples
This function creates an event script from the provided event template inside a module along with a testtthat test script.
1 |
name |
Name of the event. |
module |
Name of the module folder to add a event file to. The function
looks for a folder inside the |
with_comments |
a logical value. If |
1 2 3 4 5 6 7 8 9 | ## Not run:
# Note: running this will create a folder called "modules" and a sub-folder
# to your working directory within the folder called "demography"
use_module(name = "demography")
# create an event called 'birth' inside the 'demography' module.
use_event(name = "birth", module = "demography")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.