Learn R Programming

SpaDES.core (version 2.0.5)

.runCodeChecks: Runs a series of code checks during simInit()

Description

This uses custom tools and some optional tools in the codetools package to check for function collisions with known, common function collisions (raster::stack, raster::scale). All outputs will be sent as messages.

Usage

.runCodeChecks(sim, m, k, hadPrevMessage = FALSE)

Value

NULL (invisibly); invoked for side effect of generating message with that starts with paste0(m, ":", message).

Arguments

sim

a simList object

m

module name

k

numeric index of module name in sim@depends@dependencies, should align with m

hadPrevMessage