Skip to contents

User-friendly constructor function for instantiating a FileOutputs object.

Usage

FileOutputs(
  name,
  path,
  dependencies = list(),
  output = list(),
  renders = TRUE,
  stage = NA_character_,
  artifact_role = "report_source",
  description = NA_character_
)

Arguments

name

Character. User-supplied human-readable name for the file.

path

Character. Absolute or relative file system path.

dependencies

List of FilePath objects that this file depends on.

output

List of FilePath objects produced by this file.

renders

Logical. Indicates whether the file is a rendering script. Defaults to TRUE.

stage

Character. Pipeline lifecycle stage.

artifact_role

Character. Pipeline role of the artifact. Defaults to "report_source".

description

Character. Brief description of the file.

Value

A new FileOutputs object.