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

.runCodeChecksR Documentation

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)

Arguments

sim

a simList object

m

module name

k

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

hadPrevMessage

Value

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


PredictiveEcology/SpaDES.core documentation built on April 17, 2024, 8:27 a.m.