Skip to content

R universe#542

Merged
renkun-ken merged 5 commits intoREditorSupport:masterfrom
renkun-ken:r-universe
May 20, 2022
Merged

R universe#542
renkun-ken merged 5 commits intoREditorSupport:masterfrom
renkun-ken:r-universe

Conversation

@renkun-ken
Copy link
Member

@renkun-ken renkun-ken commented Apr 19, 2022

Closes #536

I set up a repo to contain the configuration of our r-universe and updated README accordingly.

The repo that runs Github Actions to update and build the unvierse is https://github.com/r-universe/reditorsupport.

README.md Outdated
```r
# install.packages("remotes")
remotes::install_github("REditorSupport/languageserver")
install.packages("languageserver", repos="https://reditorsupport.r-universe.dev")
Copy link
Contributor

@eitsupi eitsupi Apr 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be install.packages("languageserver", repos = c(reditorsupport = "https://reditorsupport.r-universe.dev", getOption("repos"))) (to install dependent packages).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@renkun-ken
Copy link
Member Author

Should we also include lintr in the universe as we prefer?

@randy3k
Copy link
Member

randy3k commented Apr 20, 2022

Should we also include lintr in the universe as we prefer?

Isn't it already available in r-universe? https://r-lib.r-universe.dev/ui#package:lintr

@renkun-ken
Copy link
Member Author

renkun-ken commented Apr 20, 2022

I thought lintr could be in our r-universe. But a simpler way is just to specify multiple repos so that the latest builds of the dependencies from r-lib (e.g. lintr, styler, xml2, etc.) or rstudio could be easily installed:

install.packages("languageserver", repos = c(
    reditorsupport = "https://reditorsupport.r-universe.dev",
    rlib = "https://r-lib.r-universe.dev",
    rstudio = 'https://rstudio.r-universe.dev',
    getOption("repos")
))

Looks like there's no need to include them in our universe at all.

@renkun-ken renkun-ken merged commit e4bd307 into REditorSupport:master May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why not set up r-universe?

3 participants