moduleParams | R Documentation |
These are more or less wrappers around moduleMetadata
, with the exception
that extraneous spaces and End-Of-Line characters will be removed from the
desc
arguments in defineParameters
, defineInputs
, and
defineOutputs
moduleParams(module, path)
## S4 method for signature 'character,character'
moduleParams(module, path)
moduleInputs(module, path)
## S4 method for signature 'character,character'
moduleInputs(module, path)
moduleOutputs(module, path)
## S4 method for signature 'character,character'
moduleOutputs(module, path)
module |
Character string. Your module's name. |
path |
Character string specifying the file path to modules directory.
Default is to use the |
data.frame
Alex Chubaty
moduleMetadata()
## easily include these tables in Rmd files using knitr
path <- getSampleModules(tempdir())
sampleModules <- dir(path)
p <- moduleParams(sampleModules[3], path = path)
i <- moduleInputs(sampleModules[3], path = path)
o <- moduleOutputs(sampleModules[3], path = path)
knitr::kable(p)
knitr::kable(i)
knitr::kable(o)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.