flr / FLBEIA

Bio-Economic Impact Assessment of Management strategies using FLR
11 stars 13 forks source link

Missing variable in advSum #27

Open iagomosqueira opened 5 years ago

iagomosqueira commented 5 years ago

advSum in FLBEIA/R/Results_Summary.R:1743 has

advSum <- function(obj, stknms = catchNames(obj$fleets), 
                     years = dimnames(obj$biols[[1]]@n)[[2]], long = TRUE, scenario = 'bc'){
  fleets <- obj$fleets
  advice <- obj$advice
  if(stknms[1] == 'all') stknms <- names(biols)
[...]

but biols has not been defined. Should this be obj? Or is it missing another artgument?