makeLibraryCtx: makeLibraryCtx

View source: R/makeLibraryCtx.R

makeLibraryCtxR Documentation

makeLibraryCtx

Description

Locate or create a specified switchr library

Usage

makeLibraryCtx(
  name,
  seed = NULL,
  pkgs = NULL,
  exclude.site = TRUE,
  contains,
  rvers = NULL,
  verbose = FALSE
)

Arguments

name

The name for the library

seed

The object to seed the library from

pkgs

Pkgs to install upon creation. Deprecated, use a seeding object instead.

exclude.site

Whether the site library should be excluded when switching to this library

contains

Currently unused.

rvers

Optional R version. If specified, existing libraries much be associated with the same R version to be considered a match.

verbose

Should informative messages be emitted to the console

Details

This function is not intended to be called directly in most cases; switchTo calls it automatically.


switchr documentation built on March 31, 2023, 5:13 p.m.