.runCodeChecks {SpaDES.core} | R 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 |
m |
module name |
k |
numeric index of module name in sim@depends@dependencies, should align with |
hadPrevMessage |
Value
NULL (invisibly); invoked for side effect of generating message with that starts with
paste0(m, ":", message)
.
[Package SpaDES.core version 2.1.0 Index]