Skip to contents

Convenience that helps generate relevant paths to run the 'targets' pipeline

Usage

tar_paths(path = "onedrive")

Arguments

path

character string for the path to return. Defaults to "onedrive" which will return the shared onedrive target store (i.e. the data). Both "pkg" or "inst" will return the path to the "_targets.R" file (i.e. the instructions) in the installed package directory or the inst directory in your local git repo respectively.

Value

character string

Examples


onedrive_store <- tar_paths()
#> Error in tar_paths(): You do not appear to have access to /MarConsNetTargets/app_targets