ices-eg / wg_HAWG

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

Power law failures #43

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.
2)      When I allow for power law catchability models, the functions retro, 
loo, and loi stops with an error message after the base run:
Using pin file in preference to model.init
DATASECTION
sam.dat...OK. model.cfg...OK. reduced.cfg...OK.   ---  Done.
PARAMETERSECTIONerror reading parameters from file 
c:\users\gjerted\appdata\local\temp\rtmpof~1\sam.pin
Error in .local(object, ...) :
  An error occurred while running ADMB. Return code 1.

I am able to recreate the last bug with your dataset on NSH too, changing the 
ctrl by:
ctrl@power.law.exps[“HERAS”,2:9]<-c(1,1,2,2,3,3,3,3)

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