Render a scenario (or list of them) as the canonical output path.

as_path(x, pre = "outputs", withFieldLabel = .scenario_env$withFieldLabel)

Arguments

x

A scenario, or anything coercible via as_scenario().

pre

Path prefix (default "outputs").

withFieldLabel

Character vector of field names whose value should be prefixed with the field name in the path (paste0(label, value) instead of bare value). Defaults to the value registered via register_scenario_format(); pass character(0) to force the bare-value default.