Learn R Programming

buildr (version 0.1.1)

build: Run Selected Build Script

Description

build() is the final function in the workflow, as it instructs 'RStudio' Build pane to take the first rule in the Makefile (set previously with aim()) and runs the respective recipe.

Usage

build()

Arguments

Value

No return value. Called for side effects.

Author

Jan Netik

Details

The 'Rstudio' Build pane is not allways visible and set to take Makefiles. However, the build() ensures that everything is set properly and if not, it offers you to automatically edit necessary settings automatically for you. Note that this action forces 'RStudio' user interface (UI) to reload and you have to call build() again afterwards.

See Also

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

Examples

Run this code
if (FALSE) {
build()
}

Run the code above in your browser using DataLab