Skip to content

[Feature Request]: Explore and implement robust sandboxing mechanism #201

Description

@gogonzo

Feature description

Currently eval_code evaluates each call in the new (cloned) environment where parent.env(env) <- parent.env(.GlobalEnv). When executing library via eval_code new library is added over each qenv@env - i.e. all qenv objects have the same package-namespaces in the search path.

We would like to separate @env as much as possible.

Separate search path for each env@env

So that each qenv is a child of libraries which have been attached in this eval_code

Namnlöst diagram drawio

Separate qenv sessions

Other solution is to separate sessions where eval_code is executed rlang::r_session

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions