tests/run-all.R

# FIXME: R CMD check does not run on true batch systems, but maybe it does not have to
# we can check there with 'make test' and run 'make check' locally

library(testthat)
test_check("parallelMap")

# #FIXME: bad hack
# # for some reason using test_package and opening a socked node
# # blocks R CMD check
# # but we really want to test at least one real parallel mode on cran

# if (!interactive()) {
library(BBmisc)
library(parallelMap)
source("testthat/helpers.R")
source("testthat/helper_sockettest.R")
sockettest()
# }

Try the parallelMap package in your browser

Any scripts or data that you put into this service are public.

parallelMap documentation built on June 28, 2021, 9:07 a.m.