Function checkParams


#1

I found the function ckeckParams(…) at

https://www.rdocumentation.org/packages/SpaDES/versions/1.3.1/topics/checkParams.
Checks that all parameters passed are used in a module, and that all parameters used in a module are passed.
I found the function in the code I am reading, but I do not understand the context in which the function is used. Could you please explain with an example? In the code I am reading it is used in the following way: ckeckParams(“package”, paramsFullFile). I guess the parameter is a file. I will be using the function outside of a pckage in a Shiny app
Thanks


#2

That package is for spatial discrete event simulations.

The function refers to modules in that context and not packages.


#3

Thank you for your response.