R6 class representing Reporting Engine generic Workflow
Public fields
simulationStructuresSimulationStructureR6 class object managing the structure of the workflow outputworkflowFolderpath of the folder create by the Workflow
taskNamesEnum of task names
reportFileNamename of the Rmd report file
reportTitlereport title page
createWordReportlogical of option for creating Markdown-Report only but not a Word-Report.
wordConversionTemplateoptional docx template for rendering a tuned Word-Report document
userDefinedTasksList of user-defined tasks (to update with loadUserDefinedTask)
numberSectionslogical defining if the report sections should be numbered
Active bindings
reportFolderDirectory in which workflow report is saved
reportFilePathPath 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
simulationSetslist of
SimulationSetR6 class objectsworkflowFolderpath of the output folder created or used by the Workflow.
createWordReportlogical of option for creating Markdown-Report only but not a Word-Report.
wordConversionTemplateoptional docx template for rendering a tuned Word-Report document
watermarkdisplayed watermark in figures background
simulationSetDescriptorcharacter Descriptor of simulation sets indicated in reports
numberSectionslogical defining if the report sections should be numbered
reportTitlereport title internally added as a cover page If
reportTitleis an existing file, it will be merged to the report as cover page.themeA
Themeobject 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
watermarktext 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,workflowWatermarkMessageis 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