get_byte_compiler {benchmarkme}R 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()

[Package benchmarkme version 1.0.8 Index]