Skip to content

Commit

Permalink
Update(table_bnc): checked and reformatted placement of rda - @sbreit…
Browse files Browse the repository at this point in the history
…bart-NOAA rda needs check
  • Loading branch information
Schiano-NOAA committed Dec 18, 2024
1 parent c2c9f9b commit e33b541
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions R/table_bnc.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ table_bnc <- function(
# add theming to final table
tab_fin <- suppressWarnings(add_theme(bnc))

# TODO: Needs check as of 18dec2024
# export figure to rda if argument = T
if (make_rda == TRUE){
# create plot-specific variables to use throughout fxn for naming and IDing
topic_label <- "bnc"

Expand All @@ -145,16 +148,11 @@ table_bnc <- function(
# caps_alttext <- extract_caps_alttext(topic_label = topic_label,
# fig_or_table = fig_or_table)


# export figure to rda if argument = T
if (make_rda == TRUE){

export_rda(plt_fin = plt_fin,
# caps_alttext = caps_alttext,
rda_dir = rda_dir,
topic_label = topic_label,
fig_or_table = fig_or_table)

}
# Return finished table
tab_fin
Expand Down

1 comment on commit e33b541

@sbreitbart-NOAA
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked/fixed in this commit: 10b4c4e

Please sign in to comment.