qat (version 0.74)

qat_add_algorithm: Algorithm of a check

Description

For each check in the workflow it is possible to add a algorithm of the test. This will be saved into the XML result file under agolgorithm. This function adds a new or replace an existing algorithm.

Usage

qat_add_algorithm(workflowlist, listelem, algorithm_text)

Arguments

workflowlist
A workflowlist like it will be created by qat\_config\_read\_workflow
listelem
Number of check, where the algorithm should be added.
algorithm_text
Text of the algorithm.

Value

Give back the edited workflowlist.

See Also

qat_config_read_workflow

Examples

Run this code
library("qat")
## read in workflow from systemfiles
# filename_in <- system.file("extdata/workflowexample.xml", package="qat")
# workflowlist <- qat_config_read_workflow(filename_in)
## add some more informations for the workflow
# workflowlist <- qat_add_algorithm(workflowlist, 1, "Algorithm information")
# filename_out <- "myworkflow_result.xml" 
## write edited workflow in current directory
# qat_config_write_workflow(workflowlist, output_filename=filename_out) 

Run the code above in your browser using DataCamp Workspace