Currently line 253 in setResource.R insists that "The 'resource_capacity' must always be greater than current resource number density." This is done so that when the user wants to set a resource level, the resource rate does not become infinite. I think that it would be better to just issue a warning and then increase the resource capacity by a tiny factor. That way params objects that have set the two equal (like NS_params) do not trigger an error.
Currently line 253 in
setResource.Rinsists that "The 'resource_capacity' must always be greater than current resource number density." This is done so that when the user wants to set a resource level, the resource rate does not become infinite. I think that it would be better to just issue a warning and then increase the resource capacity by a tiny factor. That way params objects that have set the two equal (likeNS_params) do not trigger an error.