Render a scenario as an upload tar filename.
as_tarname(
x,
ext = ".tar.gz",
pre = "outputs",
withFieldLabel = .scenario_env$withFieldLabel
)A scenario, or anything coercible via as_scenario().
File extension (default ".tar.gz").
Path prefix (default "outputs").
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.