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/pvmtest@master", 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 Oct. 30, 2022, 11:22 p.m.