run_catch_levels_copy_input_files: Copy the necessary files from a models' work directories to...

View source: R/run-catch-levels-copy-input-files.R

run_catch_levels_copy_input_filesR Documentation

Copy the necessary files from a models' work directories to the directory required to run dynamic catch levels runs

Description

Copy the necessary files from a models' work directories to the directory required to run dynamic catch levels runs

Usage

run_catch_levels_copy_input_files(model, pth, inp_files_only = FALSE)

Arguments

model

The SS model output as loaded by create_rds_file()

pth

The path to the directory in which the dynamic catch levels run will occur. Example: '/srv/hake/models/2023/01-version/01-base-models/01-base/catch-levels/spr-100'

inp_files_only

Logical. If TRUE, on;ly copy the SS3 inputs files which are in the package data variable ss_input_files. If FALSE, include 'derposts,sso' and 'ss.psv' as well

Value

base::invisible() If the function returns, all files were copied successfully. If they were not, an error is thrown


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.