Skip to content

Commit

Permalink
Merge pull request #272 from pbs-assess/dandev
Browse files Browse the repository at this point in the history
Dandev
  • Loading branch information
seananderson authored Dec 24, 2024
2 parents da831f1 + d5a783e commit b162ca0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion R/fsar-word.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Binary file modified inst/csas-docx/fsar-first-page.docx
Binary file not shown.
Binary file modified inst/csas-docx/fsar-last-page.docx
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/rmarkdown/templates/fsar/skeleton/plot-timeseries.R
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion inst/rmarkdown/templates/fsar/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ release_month: "January"
report_number: "XXX"
meeting_date: "January 25, 2024"
region: "Region Name"
phone: "(555) 555-5555"
email: "[email protected]"
csa_address: "CSA Address goes here"
report_title_french: "Fish stock name"
Expand Down

0 comments on commit b162ca0

Please sign in to comment.