make_dependency: Create Dependency Rule Based on Yaml Header

Description Usage Arguments Details Value Author(s)

View source: R/makefile.R

Description

make_dependency Creates a string with the Makefile syntax to create a dependency rule based on a yaml list.

Usage

1
make_dependency(yaml_list)

Arguments

yaml_list

A yaml list obtained from the yaml header of a Rmd file.

Details

It evaluates the yaml list to obtain the prerequisites (a parameter starting with "prer") and the targets (a parameter defined with "targ").

Value

A string with the Makefile syntax of the dependency.

Author(s)

Erick A. Chacón-Montalván


ErickChacon/reprodown documentation built on Aug. 12, 2021, 9:59 p.m.