Skip to content

Commit

Permalink
modify subtitle (#192)
Browse files Browse the repository at this point in the history
Co-authored-by: benoit <[email protected]>
  • Loading branch information
2 people authored and Meixh2021 committed Jun 10, 2022
1 parent d70d353 commit 5cfb9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ std_deco <- function(id, ...) {
if (!is.null(gds_data[[id]])) {
list(
title = gds_data[[id]]$`Standard titles`[1],
subtitles = c("Protocol: {{protocol}}, Snapshot: {{snapshot}}, Snapshot Date: {{snapshot-date}}, Cutoff Date: {{cutoff-date}}", gds_data[[id]]$`Standard titles`[-1]), # nolint
subtitles = c("Protocol: {{protocol}}", gds_data[[id]]$`Standard titles`[-1]), # nolint
main_footer = paste(gds_data[[id]]$`Standard footnotes`, collapse = " ")
)
} else {
list(
title = "Main Title",
subtitles = "Protocol: {{protocol}}, Snapshot: {{snapshot}}, Snapshot Date: {{snapshot-date}}, Cutoff Date: {{cutoff-date}}", # nolint
subtitles = "Protocol: {{protocol}}",
main_footer = "Footnotes go here"
)
}
Expand Down

0 comments on commit 5cfb9f5

Please sign in to comment.