Skip to contents

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()

Value

No return value. Called for side effects.

Details

The 'RStudio' Build pane is not always 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()

Author

Jan Netik

Examples

if (FALSE) {
build()
}