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).


SpaDES.core documentation built on Nov. 10, 2023, 5:08 p.m.