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

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

if (FALSE) {
yeo2011_repo <- ggseg_atlas_repos("yeo2011")
install_ggseg_atlas(yeo2011_repo$repo, yeo2011_repo$source)
}