Get the first available model name in the given directory
defaultModel(dir = system.file(package = pkg, "models"), pkg = "tdmore")
dir | model directory; uses the package `models` directory by default |
---|---|
pkg | the package in which to search for a `models` directory |
character string with model filename