View source: R/utils-create-version-dirs.R
create_version_dirs | R Documentation |
Create set of directories for a new model version
create_version_dirs(
year,
dir_models = "/srv/hake/models",
version = "01-version"
)
year |
A four-digit integer specifying the assessment year. E.g., for an assessment that uses data up to 2023 and was due in 2024, the assessment year is 2024. |
dir_models |
A file path where you want to create the year directory.
The default is the path that stores all of the model folders on hake-
precision, i.e., |
version |
A string that starts with a two-digit integer and is followed by a dash and then the word "version". |
A vector of directory paths that were created is invisibly returned.
Kelli F. Johnson
## Not run:
create_version_dirs(year = 2023, dir_models = getwd())
unlink("01-version", recursive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.