Skip to contents

Wrapper to create a CondaEnvManager object meant to store information about conda environments for all known methods out of a data.frame object (typically stored in the package's cache). In most cases, it is best that the user favors the UpdateEnvCache() function which enables to create/overwrite conda environments and to update the package's internal cache.

Usage

CondaManager(cache)

Arguments

cache

a correctly formatted (see below) data.frame or a path to such a data.frame stored inside a RDS file. If cache is missing, return an blank object (i.e. in an uninitialized state).

Value

a CondaEnvManager object

Details

The cache data.frame's expected column names are:

  • method

  • needs.conda

  • conda.bin.value

  • conda.bin.valid

  • conda.env.name.value

  • conda.env.name.valid

  • conda.env.path.value

  • conda.env.path.valid

  • is.valid

See also