Skip to content

Commit

Permalink
fix: remove warn argument of r4ss::writestarter()
Browse files Browse the repository at this point in the history
deprecated
  • Loading branch information
k-doering-NOAA committed Feb 5, 2024
1 parent b854542 commit a783329
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions R/initOM.R
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,7 @@ run_OM <- function(OM_dir,
start[["N_bootstraps"]] <- max_section
start[["seed"]] <- seed
r4ss::SS_writestarter(start,
dir = OM_dir, verbose = FALSE, overwrite = TRUE,
warn = FALSE
dir = OM_dir, verbose = FALSE, overwrite = TRUE
)

# run SS and get the data set
Expand Down
3 changes: 1 addition & 2 deletions R/manipulate_EM.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ run_EM <- function(EM_dir,
start <- SS_readstarter(file.path(EM_dir, "starter.ss"), verbose = FALSE)
start[["init_values_src"]] <- 1
SS_writestarter(start,
dir = EM_dir, overwrite = TRUE, verbose = FALSE,
warn = FALSE
dir = EM_dir, overwrite = TRUE, verbose = FALSE
)
}
if (hess == TRUE) {
Expand Down
3 changes: 1 addition & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ clean_init_mod_files <- function(OM_out_dir, EM_out_dir = NULL, MS = "EM",
r4ss::SS_writestarter(EM_start,
dir = EM_out_dir,
overwrite = TRUE,
verbose = FALSE,
warn = FALSE
verbose = FALSE
)
}
}
Expand Down

0 comments on commit a783329

Please sign in to comment.