Closed echelleburns closed 7 months ago
There is an error in chunk 5 (Quotas) when running the code:
sim_quota <- simmar(fauna = fauna, fleets = fleets, years = years, manager = list(quotas = list(bigeye = 15)))
Error reads: Error in if (manager$quotas[[names(fauna)[f]]] < sum(c_p_a_fl, na.rm = TRUE)) { : argument is of length zero
Error in if (manager$quotas[[names(fauna)[f]]] < sum(c_p_a_fl, na.rm = TRUE)) { : argument is of length zero
There is an error in chunk 5 (Quotas) when running the code:
Error reads:
Error in if (manager$quotas[[names(fauna)[f]]] < sum(c_p_a_fl, na.rm = TRUE)) { : argument is of length zero