.check_ADMB_version | R Documentation |
Check that the model is compiled with the right version of ADMB which is 12.0 or later
.check_ADMB_version(model, path = getwd(), min.version = 12, warn = TRUE)
model |
Model name without file extension |
path |
Path to model folder, defaults to working directory. NULL value specifies working directory (default). |
min.version |
Minimum valid version (numeric). Defaults to 12.0. |
warn |
Boolean whether to throw warnings or not |
Some functionality of packages adnuts is imbedded in the ADMB source code so that when a model is compiled it is contained in the model executable. If this code does not exist adnuts will fail. The solution is to update ADMB and recompile the model.
Nothing, errors out if either model could not be run or the version is incompatible. If compatible nothing happens.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.