Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 964 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 964 Bytes

nmfs-opensci.r-universe.dev

https://nmfs-opensci.r-universe.dev/packages: CRAN-like repository for NOAA Fisheries R packages. Binaries are available for Linux, Windows and MacOS.

To install packages

To install packages from the NMFS-OpenSci R Package Repository:

install.packages('pkgname', repos = 'https://nmfs-opensci.r-universe.dev')

To add packages to the repository

Edit packages.json in this repository and put in a pull request.

To use the linux binaries

Help: https://github.com/r-universe-org/help#does-r-universe-have-linux-binaries

options(repos = c(
  linux = 'https://nmfs-opensci.r-universe.dev/bin/linux/jammy/4.3/',
  sources = 'https://nmfs-opensci.r-universe.dev',
  cran = 'https://packagemanager.rstudio.com/all/__linux__/focal/latest'
))

Create your own r-universe

https://r-universe.dev/welcome/?installation_id=36737048&setup_action=install

https://ropensci.org/blog/2021/06/22/setup-runiverse/