vmrUpdateEnvVersion: Update a *vmr* environment.

View source: R/vmr-methods.R

vmrUpdateEnvVersionR Documentation

Update a vmr environment.

Description

Force to use the latest box version of the current vmr environment.

Usage

vmrUpdateEnvVersion(vmr)

Arguments

vmr

a vmr object

Details

Put vmr object version to latest and update the Vagrant File template. Download the new box version if needed.

Value

a vmr object

Examples

## Not run: 
boxes <- vmrList()
vmr <- vmrCreate(boxes$Name[1], version = "oldone")
vmr <- vmrInitEnv(vmr)

# update to latest
vmr <- vmrUpdateEnvVersion(vmr)
vmrStart()

## End(Not run)

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