expectsInput | R Documentation |
Used to specify an input object's name, class, description, source url and other specifications.
expectsInput(objectName, objectClass, desc, sourceURL, ...)
## S4 method for signature 'ANY,ANY,ANY,ANY'
expectsInput(objectName, objectClass, desc, sourceURL, ...)
## S4 method for signature 'character,character,character,character'
expectsInput(objectName, objectClass, desc, sourceURL, ...)
## S4 method for signature 'character,character,character,missing'
expectsInput(objectName, objectClass, desc, sourceURL, ...)
objectName |
Character string to define the input object's name. |
objectClass |
Character string to specify the input object's class. |
desc |
Text string providing a brief description of the input object.
If there are extra spaces or carriage returns, these will be stripped,
allowing for multi-line character strings without using |
sourceURL |
Character string to specify an URL to reach the input object,
default is |
... |
Other specifications of the input object. |
A data.frame
suitable to be passed to inputObjects
in a module's metadata.
Yong Luo
inputObjects <- bindrows(
expectsInput(objectName = "inputObject1", objectClass = "character",
desc = "this is for example", sourceURL = "not available"),
expectsInput(objectName = "inputObject2", objectClass = "numeric",
desc = "this is for example", sourceURL = "not available",
otherInformation = "I am the second input object")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.