Error in run_admb() after invoking admb too many times
- Dominant language
- Smarty
- Stars
- 6
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
When I invoke admb inside a loop (using setup_admb()/compile_admb()/run_admb()), it will run through 83 iterations of the loop and on the 84th fails to compile and gives this error message:
Error in run_admb(tpl.filename) :
> executable HoenigMethod_East.exe not found: did you forget to compile it?
I checked to make sure it wasn't a problem with the number 84 and it's not (when I run the loop through i in 10:110 it will give me the error message when i=94) So it's something about invoking admb 84 times in a row. I also updated R, Rstudio and r2ADMB to make sure that wasn't the problem and it did not fix it.
Has anyone you encountered this problem before?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported loop that repeatedly calls setup_admb(), compile_admb(), and run_admb() with the supplied template, checking the 84th invocation and the missing HoenigMethod_East.exe message. Trace those entry points and verify whether repeated compilation still leaves the executable available; done means the loop completes without the reported compile or executable-not-found failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100