check_forecasts: Check that forecasts have been run

View source: R/utils-check-forecasts.R

check_forecastsR Documentation

Check that forecasts have been run

Description

Check that forecasts have been run

Usage

check_forecasts(
  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_forecasts() function has been run successfully by looking in to the forecasts 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 Jan. 14, 2025, 9:12 p.m.