write_draft: Write the draft assessment files for this species

View source: R/write_draft.R

write_draftR Documentation

Write the draft assessment files for this species

Description

Write draft assessment files for this species in a specified directory based on dir.

Usage

write_draft(authors, dir, grepcopy = "00opts|^01a|^[i-s]")

Arguments

authors

A vector of author names or a list of vectors if you want to specify multiple files.

dir

A directory where you want the results saved to. The directory must be a full path or relative to your current working directory. Regardless of which method you choose, the creation of the directories is recursive and you can nest directories as many layers as you want.

grepcopy

A character string for pattern matching in the draft folder of files to bring over from the template to the main document folder. As you increasingly develop your stock assessment document the amount of files you want to overwrite will decrease. The default will bring a few files.

Author(s)

Kelli F. Johnson

See Also

Other write: write_introduction()

Examples

## Not run: 
# Bring more files than the default, this would be used in
# the beginning
write_draft(
  authors = "Kelli F. Johnson",
  dir = "doc",
  grepcopy = "[0-5]|^[i-z]"
)

## End(Not run)


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