check_model: Check input argument 'model'

View source: R/check_model.R

check_modelR Documentation

Check input argument model

Description

Check that the executable name provided in model, an input argument to numerous r4ss functions, does not contain the extension and is available.

Usage

check_model(model, mydir = getwd())

Arguments

model

Name of the Stock Synthesis model file (which has the .exe for on Windows) in mydir without the extension (if any), e.g., "ss" or "ss_win".

mydir

The directory where model is located.

Value

A cleaned model name based on the input argument.

Author(s)

Kelli F. Johnson


r4ss documentation built on May 28, 2022, 1:11 a.m.