get_bin_version: Report ADMB version

Description Usage Arguments Details Value Author(s) Examples

Description

Report AD Model Builder version for compiled executable being used

Usage

1
get_bin_version(file_name = "glmmadmb")

Arguments

file_name

Name of executable to search for

Details

There are three version numbers that could be relevant to debugging glmmADMB problems. The first is the glmmADMB version (retrievable via help(package="glmmADMB") or sessionInfo); the second, for development versions of glmmADMB, is the SVN (Subversion) revision number; the third is the version of the compiled ADMB binary included in the package. By running glmmadmb -version on this binary, this function retrieves the third (binary) version.

Value

Prints the version information and returns it, invisibly, as a character vector.

Author(s)

Ben Bolker

Examples

1
2
3
4
5
6
  si <- sessionInfo()
  sig <- si$otherPkgs$glmmADMB
  sig$Version       ## glmmADMB version
  if (!check_rforge()) {
        get_bin_version() ## ADMB binary version
      }

bbolker/glmmadmb documentation built on May 11, 2019, 9:29 p.m.