tests/test-github.R

if (Sys.getenv("TEST_PVM_INIT") != "TRUE") quit("no")
library(remotes)
library(pvm)
lib.loc <- tempfile(fileext = ".lib")
dir.create(lib.loc)
remotes::install_github("wush978/[email protected]", lib = lib.loc)
export.packages(pvm.path <- tempfile(fileext = ".yml"), lib.loc = lib.loc)
yaml::yaml.load_file(pvm.path)
file.copy(pvm.path, "pvm/github-pvmtest-master.yml")
wush978/rpvm documentation built on May 4, 2019, 12:03 p.m.