get_dir_exe: Get directory with Stock Synthesis executable in Lingcod...

View source: R/get_dir_exe.R

get_dir_exeR Documentation

Get directory with Stock Synthesis executable in Lingcod package

Description

Should find executable within package regardless of the location on any user's system. Could be expanded in the future for different operating systems.

Usage

get_dir_exe()

Author(s)

Ian G. Taylor

See Also

get_dir_ling()

Examples

## Not run: 
  # find directory with executable
  get_dir_exe()

  # copy model files to a new directory and bring in executable
  r4ss::copy_SS_inputs(dir.old = get_dir_ling(area = area, num = 1),
                       dir.new = get_dir_ling(area = area, num = 2), 
                       use_ss_new = FALSE,
                       copy_exe = TRUE,
                       dir.exe = get_dir_exe())

## End(Not run)

iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.