install_ggseg_atlas: Install ggseg-atlas from repo

View source: R/extra-atlases.R

install_ggseg_atlasR Documentation

Install ggseg-atlas from repo

Description

installs ggseg-atlas library from the ggseg r-universe <https://ggseg.r-universe.dev/ui#builds> .

Usage

install_ggseg_atlas(
  package,
  repos = c(ggseg = "https://ggseg.r-universe.dev", getOption("repos")),
  ...
)

Arguments

package

package name

repos

vector of repositories to install from. Defaults to ggseg r-universe and CRAN.

...

additional arguments to install.packages.

Details

To install, will temporarily alter your install repo settings to also use the ggseg r-universe build as source for packages. These settings will be restored when the function exits.

Examples

## Not run: 
yeo2011_repo <- ggseg_atlas_repos("yeo2011")
install_ggseg_atlas(yeo2011_repo$repo, yeo2011_repo$source)

## End(Not run)

LCBC-UiO/ggsegExtra documentation built on May 9, 2022, 1:07 a.m.