Learn R Programming

buildr (version 0.1.1)

aim: Set Makefile Target

Description

aim() looks for an existing Makefile, reads its content, and offers a list of discovered Makefile targets (denoting build scripts, in our case), all in an interactive way. When the session is not interactive, or you know the name of the desired target, you can declare it directly in the target argument.

Usage

aim(target = NULL)

Value

No return value. Called for side effects.

Arguments

target

Character. The name of the Makefile target to set.

Author

Jan Netik

See Also

Other functions from buildr trinity: build(), init()

Examples

Run this code
if (FALSE) {
# We have several build scripts in our project root
# and we want to select script called "build_all.R":

aim(target = "all") # note that "build_" is stripped out by default
}

Run the code above in your browser using DataLab