pprof_path {proffer}R Documentation

Show the path to the pprof executable.

Description

Defaults to the PROFFER_PPROF_BIN environment variable. Otherwise, it searches your Go lang installation for pprof.

Usage

pprof_path()

Details

See https://github.com/r-prof/proffer#installation for setup instructions.

Value

Character, path to pprof it exists and "" otherwise.

Examples

if (identical(Sys.getenv("PROFFER_EXAMPLES"), "true")) {
pprof_path()
}

[Package proffer version 0.1.6 Index]