get_byte_compiler: Byte compiler status

View source: R/get_byte_compiler.R

get_byte_compilerR Documentation

Byte compiler status

Description

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

Usage

get_byte_compiler()

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!

Value

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

Examples

## Detect if you use byte optimization
get_byte_compiler()

benchmarkme documentation built on June 12, 2022, 5:06 p.m.