Get toolkit version for steps

get_steps_version(steps)

Arguments

steps

Steps object parsed by parse_steps

Value

Vector of step toolkit versions

Examples

# steps represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl_json() %>%
  parse_steps() %>%
  get_steps_version()
#> [1] "v1.0"  "v1.0"  NA      "0.9.1" "0.9.1"

# steps represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl_yaml() %>%
  parse_steps() %>%
  get_steps_version()
#> [1] "v1.0"  "v1.0"  NA      "0.9.1" "0.9.1"