This repository has been archived by the owner on Jun 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
47 lines (33 loc) · 1.62 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# pprof
[![Travis build status](https://travis-ci.org/r-prof/r-pprof.svg?branch=master)](https://travis-ci.org/r-prof/r-pprof) [![Coverage status](https://codecov.io/gh/r-prof/r-pprof/branch/master/graph/badge.svg)](https://codecov.io/github/r-prof/r-pprof?branch=master) [![CRAN status](http://www.r-pkg.org/badges/version/pprof)](https://cran.r-project.org/package=pprof)
## Archived project
This project has been archived, because CRAN doesn't seem to support Go on their infrastructure. The [(jointprof)](https://github.com/r-prof/jointprof) package contains a function that helps discovering the `pprof` utility which this project packages.
## Introduction
This is the [pprof](https://github.com/google/pprof) tool for visualization and analysis of profiling data, wrapped as an R package. It exports a single function which returns the path to the executable file.
The `pprof` binary can also be installed via `go get github.com/google/pprof`. However, some operating systems have an incompatible version of `pprof` on the `PATH` by default. This R package offers an easy-to-use robust alternative.
## Installation
You can install *pprof* from GitHub with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("r-prof/r-pprof")
```
## Example
```{r example, message=TRUE}
invisible(processx::run(
pprof::get_pprof_pkg_path(),
"-help",
echo = TRUE,
error_on_status = FALSE
))
```