Use source to get params.
Use source to get params.

This avoids having to parse with regular expressions, and it doesn't matter if the parameters are spread across multiple lines.

In addition, you can just specify the name of the function rather than the line numbers.

bcgov/envreportutils