Learn R Programming

SpaDES.core (version 0.2.4)

.runCodeChecks: Runs a series of code checks during simInit

Description

This uses codetools::codeCheck for function consistency, and codetools::findGlobals to check for function collisions with known, common function collisions (raster::stack, raster::scale)

Usage

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

Arguments

sim

simList

m

module name

hadPrevMessage
message

rest of message

Value

A message with that starts with paste0(m, ":", message)