ices-eg / wg_HAWG

Herring Assessment Working Group for the Area South of 62°N
0 stars 7 forks source link

"Numbers" vs "number" inconsistency in FLSAM.control #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After testing the package on NEA haddock in R version 2.15.2 and FLCore 2.5 
(and R 2.14, FLCore 2.4), I have found two possible bugs.
1)      In function FLSAM.control you define ctrl@fleets by “con”, 
“number”, and “biomass”, but when I read in my tuning fleets from 
VPA-files; type is defined as “numbers”. I guess this is caused by 
inconsistencies within FLCore, but it causes 
ctrl<-FLSAM.control(stck,tun,default="full") to fail.

Original issue reported on code.google.com by markpayn...@gmail.com on 28 Feb 2013 at 3:35