-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MaxProfit throwing error #49
Comments
Good morning Marc,
I am getting the same error as you in one of my examples. I will try to fix it today and give your some feedback asap.
Best regards,
Sonia Sánchez Maroño
AZTI – Member of Basque Research & Technology Alliance
Gestión Pesquera Sostenible (ICES). Sustainable Fisheries Management (ICES). Arrantza-kudeaketa Jasangarria (ICES)
Tlf. +34 667 174 481 | Mail: [email protected] | Linkedin: Sonia Sánchez Maroño
De: Marc Taylor <[email protected]>
Enviado el: jueves, 24 de septiembre de 2020 17:22
Para: flr/FLBEIA <[email protected]>
CC: Subscribed <[email protected]>
Asunto: [flr/FLBEIA] MaxProfit throwing error (#49)
I have been having difficulties setting up a MaxProfit fleet control scenario, which was throwing an error during the first fleet evaluated in the effort loop.
This same error occurs in the MaxProfit examples of the bio-economic Rmd tutorial (https://github.com/flr/doc/blob/master/FLBEIA_Bio_Economic_Tutorial.Rmd<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fflr%2Fdoc%2Fblob%2Fmaster%2FFLBEIA_Bio_Economic_Tutorial.Rmd&data=02%7C01%7C%7Ce4e6fdafbd8d403ff5bd08d8609d9451%7C6219f1193e794e7facdea5750808cd9b%7C0%7C0%7C637365577214333842&sdata=TfigUjCDAdJ4mLeZIqQhx1bXEEf8PJAYX8uOVWwD7s0%3D&reserved=0>), e.g. chunk at L341, throws this error:
############################################################
- Year: 2017 , Season: 1
############################################################
************ OPERATING MODEL***************************
…------------ BIOLOGICAL OM ------------
-----------------ASPG-----------
-----------------ASPG-----------
-----------------ASPG-----------
-----------------ASPG-----------
-----------------ASPG-----------
------------ FLEETS OM ------------
[1] "~~~~~~~~~~ EFFORT ~~~~~~~~"
[1] "NTR_SP"
Error in FLObjs2S3_fleetSTD(biols = biols, fleets = fleets, advice = advice, : argument "adv.ss" is missing, with no default
Iago and I figured out that the Rmd still builds, but this is because those code chunks where FLBEIA is called are not evaluated (i.e. eval = FALSE).
The MaxProfit<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fflr%2FFLBEIA%2Fblob%2Fmaster%2FR%2FOM_2a_Effort_Dynamics_MaxProf.R&data=02%7C01%7C%7Ce4e6fdafbd8d403ff5bd08d8609d9451%7C6219f1193e794e7facdea5750808cd9b%7C0%7C0%7C637365577214343835&sdata=BfCWy2UKg12WushTgXCeAEkrDcKKlnB615XWhJgeejg%3D&reserved=0> function does indeed fail to specify a value for the argument adv.ss in the call to FLObjs2S3_fleetSTD, so hopefully this is a relatively quick thing to fix.
If you could have a look at the tutorial and update the example as well, I would greatly appreciate it.
-Marc
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fflr%2FFLBEIA%2Fissues%2F49&data=02%7C01%7C%7Ce4e6fdafbd8d403ff5bd08d8609d9451%7C6219f1193e794e7facdea5750808cd9b%7C0%7C0%7C637365577214343835&sdata=7VgmSlKmTv9CDVp5yRcH8HPBEAq1N9It7cFbiUG9qks%3D&reserved=0>, or unsubscribe<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABGP3ETMPFMW5H74SBJCMOTSHNPZLANCNFSM4RYOA76A&data=02%7C01%7C%7Ce4e6fdafbd8d403ff5bd08d8609d9451%7C6219f1193e794e7facdea5750808cd9b%7C0%7C0%7C637365577214353831&sdata=f%2Bd6NPuXopfY2%2F6ikdSHq9zOaHJ9OntdWc0oa5PVdxE%3D&reserved=0>.
|
Thank you Sonia - much appreciated. |
Perfect. The tutorial example works for me as well. Thanks for the quick response. |
Let me know when you want the new package version released and the tutorial rerun and linked in the webpages. I would rather only place it online once the binary package is able to run it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been having difficulties setting up a MaxProfit fleet control scenario, which was throwing an error during the first fleet evaluated in the effort loop.
This same error occurs in the MaxProfit examples of the bio-economic Rmd tutorial (https://github.com/flr/doc/blob/master/FLBEIA_Bio_Economic_Tutorial.Rmd), e.g. chunk at L341, throws this error:
Iago and I figured out that the Rmd still builds, but this is because those code chunks where FLBEIA is called are not evaluated (i.e. eval = FALSE).
The MaxProfit function does indeed fail to specify a value for the argument
adv.ss
in the call toFLObjs2S3_fleetSTD
, so hopefully this is a relatively quick thing to fix.If you could have a look at the tutorial and update the example as well, I would greatly appreciate it.
-Marc
The text was updated successfully, but these errors were encountered: