vmrLoad: Load a *vmr* environment containing a Vagrant file

View source: R/vmr-methods.R

vmrLoadR Documentation

Load a vmr environment containing a Vagrant file

Description

Load a vmr environment containing a VagrantFile and create a vmr object (see [vmrCreate()] for object details).

Usage

vmrLoad(dir = "./", vagrantfileName = "Vagrantfile")

Arguments

dir

the vmr environment directory (default: "./")

vagrantfileName

a Vagrantfile name (default: "Vagrantfile")

Details

It read a Vagrant file template with vmr compatible parameters. It's an experimental Vagrant file reading, some parameters may not be loaded.

Value

a vmr object

Examples

## Not run: 
# load the Vagrantfile in the current directory
vmr <- vmrLoad(getwd())

## End(Not run)

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