Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mkearney/pkguse

Take Inventory of Package Use
https://github.com/mkearney/pkguse

Last synced: 27 days ago
JSON representation

Take Inventory of Package Use

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# pkguse

The goal of pkguse is to help users take inventory of their most used packages

## Installation

You can install the dev version of pkguse from [Github](https://github.com/mkearney/pkguse) with:

``` r
remotes::install_github("mkearney/pkguse")
```

## Example

This is a basic use example:

```{r use}
## load {pkguse}
library(pkguse)

## supply dir locations
p <- pkg_use(c("~/Documents", "~/Dropbox", "~/R"))

## view freq table [tibble] output
print(p, n = 25)
```

The output has methods for `plot`

```{r plot}
## plot pkguse (top 25)
plot(p, n = 25)
```

and `summary`

```{r summary}
summary(p)
```