Description Usage Arguments Value Examples
This function class_catalogue
is for getting the names of objects from a specified class. It is most useful for when you want to view the objects that you have defined. For example, the make.custom_input
function should be used to define inputs with unique names. class_catalogue
can be used to check if your custom input names are unique.
1 | class_catalogue(class_name, custom_env = NULL)
|
class_name |
A string that gives the name of the class that you want to view the objects of. |
environment |
A character vector that gives the environments that you want to search for objects in. The default value is |
Returns a character vector containing the names of all the instances of the class of interest.
1 2 3 4 | # Make a test class
test_input = make.custom_input( name = "test_input" )
# Check that it exists
class_catalogue( "input" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.