benchmarkme (version 1.0.3)

get_byte_compiler: Byte compiler status

Description

Attempts to detect if byte compiling or JIT has been used on the package.

Usage

get_byte_compiler()

Arguments

Value

An integer indicating if byte compiling has been turn on. See ?compiler for details.

Details

For R 3.5.0 all packages are byte compiled. Before 3.5.0 it was messy. Sometimes the user would turn it on via JIT, or ByteCompiling the package. On top of that R 3.4.X(?) was byte compiled, but R 3.4.Y(?) was, not fully optimised!!! What this means is don't trust historical results!

Examples

Run this code
# NOT RUN {
## Detect if you use byte optimization
get_byte_compiler()
# }

Run the code above in your browser using DataCamp Workspace