vmr environment are clean and setup with R (and some with R-devel), Rtools and some dependencies.
You can use the GUI or use vmr functions to execute commands.
To get guest information:
vmrInfo()To send files to guest:
vmrSend(c("myfile1","myfile2"))To send and/or run bash commands :
vmrProvision(cmd = c("./myscript.sh"), elts = c("myscript.sh"), dest = "/home/vmr/")To execute a R command to guest:
vmrExec(c('print("HelloWorld")'))To update and install R packages in guest:
vmrUpdatePackages()
vmrInstallPackages(pkg = c("vmr"))With vmr you can test, and build a package in development using this functions:
To build, check and test:
# check a local package
vmrPackageCheck()
# Test it
vmrPackageTest()
# and create archive and package binary
vmrPackageBuild()