pprof_path: Show the path to the pprof executable.

Description Usage Details Value Examples

View source: R/path.R

Description

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

Usage

1

Details

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

Value

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

Examples

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

proffer documentation built on July 26, 2021, 5:08 p.m.