Learn R Programming

assertive (version 0.2-1)

assert_r_can_compile_code: Can R find tools for compiling code?

Description

Checks to see if R can see the gcc and make tools in order to compile code.

Usage

assert_r_can_compile_code()

r_can_compile_code()

Arguments

Value

  • r_can_compile_code returns TRUE if R can see gcc and make tools, and FALSE (with a cause) otherwise. assert_r_can_compile_code returns nothing but throws an error if r_can_compile_code function returns FALSE.

Examples

Run this code
r_can_compile_code()
dont_stop(assert_r_can_compile_code())

Run the code above in your browser using DataLab