makeLibraryCtx {switchr}R 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.


[Package switchr version 0.14.8 Index]