| getMod | R Documentation |
This utility function retrieve tidymodules from the central ModStore using module namespace/id and/or group
getMod(id = 1, group = NULL)
id |
Name or Id of the module |
group |
Group name |
MyModule <- R6::R6Class("MyModule", inherit = tidymodules::TidyModule)
MyModule$new("MyFirst")
MyModule$new("MySecond")
MyModule$new("MyThird", group = "B")
# MyFirst
getMod(1)
getMod("MyFirst")
# MySecond
getMod(2)
# MyThird
getMod(2)
getMod("B-MyThird")
getMod(1, group = "B")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.