create_sandbox: Create a sandbox environment as instructed.

Description Usage Arguments Value

View source: R/sandbox.R

Description

Create a sandbox environment as instructed.

Usage

1

Arguments

sandbox

either 1) TRUE in which case the returned environment is is an environment (sandbox) with a parent below the global environment at the time the call is made. This is important because packages loaded after the sandbox is created will not be visible to the sandbox! 2) FALSE in which case the sandbox has as a parent whatever environment is the parent.frame of the environment where this function was called; or 3) an environment in which case the returned sandbox has the environment as a parent.

Value

a new environment with the specified parent.


sakrejda/simachine documentation built on May 29, 2019, 1 p.m.