evaluate_step_element: Evaluate a step element into simple strings

View source: R/evaluate_step_element.R

evaluate_step_elementR Documentation

Evaluate a step element into simple strings

Description

Evaluate a step element (target, depends, command) as a character string/vector or as a function of the task and step elements (depending on the class of the element)

Usage

evaluate_step_element(task_step, element, task, step)

Arguments

task_step

a task_step as created by create_task_step()

element

character naming a task_step element ('target_name', 'depends', or 'command') to evaluate

task

a task item: a list with fields for 'task_name' and possibly other info

step

a step item: a list with fields for 'step_name' and possibly other info


USGS-R/scipiper documentation built on May 25, 2023, 8:47 a.m.