From 284aee582d4b8114880ca855f4db24fbd909e7ce Mon Sep 17 00:00:00 2001 From: sbreitbart-NOAA Date: Thu, 12 Dec 2024 13:18:35 -0500 Subject: [PATCH] removed make_rda param from exp_all_figs_tables.R and updated documentation --- R/exp_all_figs_tables.R | 3 ++- man/exp_all_figs_tables.Rd | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/R/exp_all_figs_tables.R b/R/exp_all_figs_tables.R index 0e8fbf7..cb768ff 100644 --- a/R/exp_all_figs_tables.R +++ b/R/exp_all_figs_tables.R @@ -28,7 +28,6 @@ exp_all_figs_tables <- function( end_year = NULL, n_projected_years = 10, relative = FALSE, - make_rda = FALSE, rda_dir = getwd(), # imported from plot_biomass @@ -53,6 +52,8 @@ exp_all_figs_tables <- function( ) { + make_rda = TRUE + # figures satf::plot_recruitment(dat, diff --git a/man/exp_all_figs_tables.Rd b/man/exp_all_figs_tables.Rd index 567f5ae..0950d22 100644 --- a/man/exp_all_figs_tables.Rd +++ b/man/exp_all_figs_tables.Rd @@ -11,7 +11,6 @@ exp_all_figs_tables( end_year = NULL, n_projected_years = 10, relative = FALSE, - make_rda = FALSE, rda_dir = getwd(), ref_line = c("target", "MSY", "msy", "unfished"), spawning_biomass_label = "metric tons", @@ -35,11 +34,6 @@ By default this number is set to 10} be relative spawning biomass. The default is `FALSE`. `ref_line` indicates which reference point to use.} -\item{make_rda}{TRUE/FALSE; indicate whether to produce an .rda file containing -a list with the figure/table, caption, and alternative text (if figure). If TRUE, -the .rda will be exported to the folder indicated in the argument "rda_dir". -Default is FALSE.} - \item{rda_dir}{The location of the folder containing the generated .rda files ("rda_files") that will be created if the argument `make_rda` = TRUE. Default is the working directory.}