https://github.com/JohnCoene/yarn
yarn from R
https://github.com/JohnCoene/yarn
Last synced: 4 months ago
JSON representation
yarn from R
- Host: GitHub
- URL: https://github.com/JohnCoene/yarn
- Owner: JohnCoene
- License: other
- Created: 2021-02-07T13:41:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T21:19:42.000Z (over 3 years ago)
- Last Synced: 2024-11-25T11:09:56.743Z (5 months ago)
- Language: R
- Homepage:
- Size: 11.7 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - JohnCoene/yarn - yarn from R (R)
README

# 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).