check_catch_levels: Check that catch levels has been run

View source: R/utils-check-catch-levels.R

check_catch_levelsR Documentation

Check that catch levels has been run

Description

Check that catch levels has been run

Usage

check_catch_levels(
  model_path = NULL,
  forecast_yrs = get_assess_yr():(get_assess_yr() + 3),
  ...
)

Arguments

model_path

The directory the models are located in

forecast_yrs

A vector of forecast years

...

Absorbs arguments meant for other functions

Details

Ensure that the run_catch_levels() function has been run successfully by looking in to the catch levels directory and checking values in the forecast files

Value

Logical. TRUE if the catch levels appears to have been run successfully and FALSE otherwise


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.