diff --git a/R/fsar-word.R b/R/fsar-word.R index 1571e8e..f12b31b 100644 --- a/R/fsar-word.R +++ b/R/fsar-word.R @@ -159,7 +159,6 @@ render_sar <- function(...) { doc <- officer::body_replace_text_at_bkm(doc, "csa_address", x$csa_address) doc <- officer::body_replace_text_at_bkm(doc, "email", x$email) doc <- officer::body_replace_text_at_bkm(doc, "region_name", x$region) - doc <- officer::body_replace_text_at_bkm(doc, "phone", x$phone) doc <- officer::body_replace_text_at_bkm(doc, "copyright_year", x$report_year) doc <- officer::body_replace_text_at_bkm(doc, "report_title_eng", x$report_title) diff --git a/inst/csas-docx/fsar-first-page.docx b/inst/csas-docx/fsar-first-page.docx index e36ab3e..557fee9 100644 Binary files a/inst/csas-docx/fsar-first-page.docx and b/inst/csas-docx/fsar-first-page.docx differ diff --git a/inst/csas-docx/fsar-last-page.docx b/inst/csas-docx/fsar-last-page.docx index 1db20e9..707d92b 100644 Binary files a/inst/csas-docx/fsar-last-page.docx and b/inst/csas-docx/fsar-last-page.docx differ diff --git a/inst/rmarkdown/templates/fsar/skeleton/plot-timeseries.R b/inst/rmarkdown/templates/fsar/skeleton/plot-timeseries.R index f686b82..7a52afd 100644 --- a/inst/rmarkdown/templates/fsar/skeleton/plot-timeseries.R +++ b/inst/rmarkdown/templates/fsar/skeleton/plot-timeseries.R @@ -1,6 +1,6 @@ #' Generate 4-panel figure using simulated fisheries data in ggplot #' -#' @param timeseries the timeseries to plot +#' @param timeseries the timeseries to plot, an example simulated data can be generated using the script fake-data.R #' @param language French or English #' #' @return A graphics device with the four-panel of figures diff --git a/inst/rmarkdown/templates/fsar/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/fsar/skeleton/skeleton.Rmd index 31470a5..2475dba 100644 --- a/inst/rmarkdown/templates/fsar/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/fsar/skeleton/skeleton.Rmd @@ -6,7 +6,6 @@ release_month: "January" report_number: "XXX" meeting_date: "January 25, 2024" region: "Region Name" -phone: "(555) 555-5555" email: "email@csa-email.com" csa_address: "CSA Address goes here" report_title_french: "Fish stock name"