set_test_env {sevenbridges} | R Documentation

## Set testing env

### Description

Checks if docker is installed, is running and has required images downloaded and if do creates container

### Usage

    set_test_env(
      type = "host",
      docker_image = "tengfei/testenv",
      data_dir = getwd()
    )

### Arguments

`type` | "dind" or "host"
`docker_image` | required docker image with pre-installed bunny, default: tengfei/testenv
`data_dir` | directory with data to mount (also will be execution directory)

### Value

docker stdout

### Examples

    ## Not run:
    set_test_env("dind", "tengfei/testenv", "/Users/<user>/tools")
    ## End(Not run)

[Package sevenbridges version 1.22.0 Index]