Learn R Programming

SpaDES.core (version 3.2.1)

.restartRefreshBindings: Re-establish the mod/P active bindings for re-parsed modules (shared)

Description

After rewinding/re-parsing, the per-module mod and Par/P active bindings must point at the (possibly fresh) simList. Shared by restartSpades() and restartSimInit().

Usage

.restartRefreshBindings(sim, modules)

Value

sim, invisibly.

Arguments

sim

A simList.

modules

Character vector of (non-core) module names.