Learn R Programming

targets (version 0.0.0.9000)

tar_name: Get the name of the target currently running.

Description

Get the name of the target currently running.

Usage

tar_name()

Arguments

Details

Must be invoked somewhere in the target's command. Only works inside a targets pipeline.

Examples

Run this code
# NOT RUN {
tar_target(returns_name, tar_name())
# }

Run the code above in your browser using DataLab