Skip to contents

Searches the local environment for global objects that input file paths and generates targets for these with format = "file".

Usage

tar_track_input_files(suffix = "_IN_PATH")

Arguments

suffix

Suffix indicating global objects that are input file paths.

Value

A list of target objects with format = 'file', one for each input file.

Examples

# dummy input file to create target for
DATA_IN_PATH <- tempfile(fileext = ".txt")
file.create(DATA_IN_PATH)
#> [1] TRUE

# create target for this with `format = "file"`
tar_track_input_files()
#> named list()