R6 class representing Reporting Engine generic Workflow
Public fields
simulationStructures
`SimulationStructure` R6 class object managing the structure of the workflow output
workflowFolder
path of the folder create by the Workflow
taskNames
Enum of task names
reportFileName
name of the Rmd report file
reportTitle
report title page
createWordReport
logical of option for creating Markdown-Report only but not a Word-Report.
wordConversionTemplate
optional docx template for rendering a tuned Word-Report document
userDefinedTasks
List of user-defined tasks (to update with loadUserDefinedTask)
numberSections
logical defining if the report sections should be numbered
Active bindings
reportFolder
Directory in which workflow report is saved
reportFilePath
Path of workflow report
Methods
Method new()
Create a new `Workflow` object.
Usage
Workflow$new(
simulationSets,
workflowFolder,
createWordReport = TRUE,
wordConversionTemplate = NULL,
watermark = NULL,
simulationSetDescriptor = NULL,
numberSections = TRUE,
reportTitle = NULL,
theme = NULL
)
Arguments
simulationSets
list of `SimulationSet` R6 class objects
workflowFolder
path of the output folder created or used by the Workflow.
createWordReport
logical of option for creating Markdown-Report only but not a Word-Report.
wordConversionTemplate
optional docx template for rendering a tuned Word-Report document
watermark
displayed watermark in figures background
simulationSetDescriptor
character Descriptor of simulation sets indicated in reports
numberSections
logical defining if the report sections should be numbered
reportTitle
report title internally added as a cover page If `reportTitle` is an existing file, it will be merged to the report as cover page.
theme
A `Theme` object from `tlf` package
Method activateTasks()
Activates a series of `Tasks` from current `Workflow`
Method inactivateTasks()
Inactivates a series of `Tasks` from current `Workflow`
Method printReportingEngineInfo()
Print reporting engine information obtained from initializing a `Workflow`
Method setWatermark()
Set the watermark to be reported on figure background.
The default value `NULL` leads to check if the computer has a validated environment.
If the environment is validated, no watermark is reported on the background.
If the environment is NOT validated, workflowWatermarkMessage
is reported on the background.
Any user-defined text will overwrite this default feature and be reported on the figure background.
Arguments
watermark
text to be reported on figures background. Default value is `NULL`, which leads to check if the computer has a validated environment. If the environment is validated, no watermark is reported on the background. If the environment is NOT validated,
workflowWatermarkMessage
is reported on the background. Any user-defined text will overwrite this default feature and be reported on the figure background.
Method setParameterDisplayPaths()
Set mapping between parameters and their display paths in workflow to replace standard display of parameter paths.
Method getParameterDisplayPaths()
Get mapping between parameters and their display paths in workflow to replace standard display of parameter paths.
Method setSimulationDescriptor()
Set descriptor of simulation sets indicated in reports
Method getSimulationDescriptor()
Get descriptor of simulation sets indicated in reports