Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ropenspain/ropenspain.r-universe.dev

Packages for the r-universe of rOpenSpain. This repo lists the packages of rOpenSpain on json format
https://github.com/ropenspain/ropenspain.r-universe.dev

open-source r-packages r-universe spain

Last synced: about 1 month ago
JSON representation

Packages for the r-universe of rOpenSpain. This repo lists the packages of rOpenSpain on json format

Awesome Lists containing this project

README

        

# rOpenSpain setup for the r-universe

This repository holds a `packages.json` files
with the packages to be included in the dedicated universe
[ropenspain.r-universe.dev/](https://ropenspain.r-universe.dev)

Source universe for ropenspain:

Last deployment:

## Adding a new package to the r-universe

Just commit to [packages.json](https://github.com/rOpenSpain/universe/blob/master/packages.json) with the following information:

```json

[
...
},

{
"package": "name_of_the_package",
"url": "https://url_of_the_repo",
"branch" : "optional: name_of_the_branch e.g main",
"subdir": "optional: name_of_the_subdir"
},

...

{
"package":"opendataes",
"url":"https://github.com/rOpenSpain/opendataes"
}
]
```

In a few minutes it would be available on
.

## Usage

```r

# Enable this universe
options(repos = c(
ropenspain = "https://ropenspain.r-universe.dev",
CRAN = "https://cloud.r-project.org"
))

# Install some packages
install.packages("rostemplate")

# Alternatively a single line
install.packages("rostemplate", repos = c("https://ropenspain.r-universe.dev", "https://cloud.r-project.org"))

```