Learn R Programming

SpaDES (version 1.3.1)

.callingModuleName: Namespacing within SpaDES

Description

.callingModuleName returns the name of the module that is currently the active module calling functions like scheduleEvent. This will only return the module name if it is inside a spades function call, i.e., it will return NULL if used in interactive mode. The related function currentModule is simply a rapid accessor for the current module name. This latter will return the module that is in the current event queue, which will never be NULL

Usage

.callingModuleName(object)

# S4 method for .simList .callingModuleName(object)

currentModule(object)

# S4 method for .simList currentModule(object)

.callingFrameTimeunit(x)

# S4 method for .simList .callingFrameTimeunit(x)

# S4 method for `NULL` .callingFrameTimeunit(x)

Arguments

object

A simList simulation object.

x

A simList simulation object.