Auxiliary function to check a NetLogo version number against the tested versions
Value
logical, TRUE if the version is one of supported_netlogo_versions
Details
With throw_error = TRUE a version that is not among the tested ones is reported
according to how likely it is to work:
NetLogo 7.0.0 or newer: a warning. Simulations are executed by 'logolink', so untested releases are likely to run; set
check_version = FALSEin nl to silence it.NetLogo below 7.0.0: an error. Support for these versions was removed in nlrx 0.5.0, so simulations cannot run at all. The error points to nlrx 0.4.6, the last version supporting NetLogo 5.3.1 to 6.4.0, which can be installed from GitHub with
remotes::install_github("ropensci/nlrx@v0.4.6").A string that is not a version number: an error.
