wrapBatchTools: wrapBatchTools

View source: R/wrapper.R

wrapBatchToolsR Documentation

wrapBatchTools

Description

Wrap a given objective function to be evaluated via the batchtools package and make it accessible for SPOT.

Usage

wrapBatchTools(
  fun,
  reg = NULL,
  clusterFunction = batchtools::makeClusterFunctionsInteractive(),
  resources = NULL
)

Arguments

fun

function to wrap

reg

batchtools registry, if none is provided, then one will be created automatically

clusterFunction

batchtools clusterFunction, default: makeClusterFunctionsInteractive()

resources

resource list that is passed to batchtools, default NULL

Value

callable function for SPOT


SPOT documentation built on June 26, 2022, 1:06 a.m.