vmrInitEnv: Initialize the *vmr* environment

View source: R/vmr-methods.R

vmrInitEnvR Documentation

Initialize the vmr environment

Description

Create vmr environment in the current directory. Set configuration into a template file name "Vagrantfile" and download the box if needed.

Usage

vmrInitEnv(vmr, force.vagrantfile = FALSE, force.download = FALSE)

Arguments

vmr

a vmr object

force.vagrantfile

if TRUE force to overwrite environment configuration (default FALSE)

force.download

if TRUE force to download the box, otherwise do not (default FALSE).

Details

The vmr environment consist of a directory (the working directory) and a template file name Vagrantfile. If the box is not present in localhost it will be download.

Value

the vmr object

Examples

## Not run: 
boxes <- vmrList()
vmr <- vmrCreate(boxes$Name[1])
vmr <- vmrInitEnv(vmr)

## End(Not run)

vmr documentation built on March 31, 2023, 8:31 p.m.