Some functions need objects that are not required to be specified in the function as argument, and assume these are defined in the parent environment.
for example, refineSpeciesData takes arguments for speciesData and modelRun, but also utilises redList, which would have to have been specified outside of function.
eg 2. get_met() pulls projCRS from parent environment (side note: this may not be necessary since reprojection is conducted in environmental import).
We should review functions for these, and explicitly add all necessary objects as arguments in function definition.
Some functions need objects that are not required to be specified in the function as argument, and assume these are defined in the parent environment. for example, refineSpeciesData takes arguments for speciesData and modelRun, but also utilises redList, which would have to have been specified outside of function. eg 2.
get_met()
pullsprojCRS
from parent environment (side note: this may not be necessary since reprojection is conducted in environmental import). We should review functions for these, and explicitly add all necessary objects as arguments in function definition.