Skip to contents

References identify logical inventory names, not arbitrary output paths.

Usage

reflow_artifact_ref(stage, artifact, read = FALSE)

Arguments

stage

Producer stage identifier.

artifact

One logical artifact name in the producer inventory.

read

Read the verified artifact as RDS; otherwise pass its path.

Value

A deferred artifact reference.

Examples

# The "values" artifact of stage "data", read back as an R object
ref <- reflow_artifact_ref("data", "values", read = TRUE)
str(ref)
#> List of 3
#>  $ stage   : chr "data"
#>  $ artifact: chr "values"
#>  $ read    : logi TRUE
#>  - attr(*, "class")= chr "reflow_artifact_ref"