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

https://github.com/JohnCoene/yarn

yarn from R
https://github.com/JohnCoene/yarn

Last synced: 4 months ago
JSON representation

yarn from R

Awesome Lists containing this project

README

        

![R-CMD-check](https://github.com/JohnCoene/yarn/workflows/R-CMD-check/badge.svg)

# yarn

Interact with [yarn](https://yarnpkg.com/) from the R console.

## Installation

``` r
# install.packages("remotes")
remotes::install_github("JohnCoene/yarn")
```

## Example

``` r
library(yarn)

# installs yarn itself globally
install_yarn()

yarn_init()

yarn_add("browserify", scope = "global")

yarn_run("--version")
```

See also [npm](https://github.com/JohnCoene/npm).