Create a TI method wrapper

Create a TI method wrapper

create_ti_method_r(definition, run_fun, package_required = character(),
  package_loaded = character(), remotes_package = character(),
  return_function = TRUE)

Arguments

definition

A definition, see definition()

run_fun

A function to infer a trajectory, with parameters counts/expression, parameters, priors, verbose and seed

package_required

The packages that need to be installed before executing the method.

package_loaded

The packages that need to be loaded before executing the method.

remotes_package

Package from which the remote locations of dependencies have to be extracted, eg. dynmethods.

return_function

Whether to return a function that allows you to override the default parameters, or just return the method meta data as is.