g3a_predate_fleet seems to produce an error if you pass a list of multiple stocks to the sum_stocks argument in g3a_predate_catchability_quotafleet. Seems that the second stock object is not found:
Error in get(as.character(stock_var), envir = orig_env) :
object 'red_mat' not found
g3a_predate_fleet
seems to produce an error if you pass a list of multiple stocks to thesum_stocks
argument ing3a_predate_catchability_quotafleet
. Seems that the second stock object is not found:Error in get(as.character(stock_var), envir = orig_env) : object 'red_mat' not found
A simple illustation is attached quotafleet_issue.zip