Skip to contents

Use this object as ConsoleConfig(resolver = ResolverConfig(...)). Worker permissions and resolver permissions are independent. An omitted resolver filesystem retains native cache grants; an explicit filesystem mapping replaces them. Explicit resolver sandbox policies are unsupported on Windows, where preparation uses host permissions. Environment settings still apply.

Usage

ResolverConfig(environment = NULL, sandbox = NULL, inherit_environment = NULL)

Arguments

environment

NULL or a named character vector of child environment assignments. Empty string values are allowed; character() is an empty mapping. Resolver assignments override worker assignments for preparation.

sandbox

NULL or a SandboxPolicy() replacing resolver permissions.

inherit_environment

NULL, TRUE, or FALSE; controls inheritance of the trusted launch environment. Console retains its owned assignments.

Value

An S7 configuration object. The constructor is also its S7 class.

Examples

ResolverConfig(environment = c(UV_INDEX_URL = "https://pypi.org/simple"))