Learn R Programming

rmake (version 1.2.0)

depRule: A rule that defines a dependency between targets without actually providing any execution script.

Description

This rule is useful when you want to specify that a target depends on another target, but you do not want to execute any script to build it.

Usage

depRule(target, depends = NULL, task = "all")

Value

Instance of S3 class rmake.rule

Arguments

target

Target file name that depends on depends

depends

A character vector of prerequisite file names that target depends on.

task

A character vector of parent task names. The mechanism of tasks allows to group rules. Anything different from 'all' will cause creation of a new task depending on the given rule. Executing make taskname will then force building of this rule.

Author

Michal Burda

See Also

rule(), makefile()