Learn R Programming

SPOT (version 2.11.10)

wrapBatchTools: 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