Skip to content

Commit

Permalink
ofce.caption update suite
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMalliet committed Nov 20, 2024
1 parent 08b8bbf commit 1918787
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions R/ofce_caption.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#' @param dptf fréquence du dernier point connu (day, month, quarter, year)
#' @param wrap largeur du texte en charactères (120 charactères par défaut)
#' @param ofce (bool) si TRUE ajoute calculs OFCE à source, sinon rien, TRUE par défaut
#' @param author (bool) si TRUE ajoute calculs des auteurs à source, sinon rien, FALSE par défaut
#' @param lang langue des textes (fr par défaut)
#'
#' @return ggplot2 caption (ggplot() + ofce_caption("INSEE"))
#' @export

Expand All @@ -36,6 +38,8 @@ ofce_caption <- function(source = NULL,
not <- "*Note* : "
Ofc <- "OFCE' computation"
ofc <- ", OFCE' computation"
author <- ", authors'computation"
Author <- "Authors'computation"
der <- ", last known point: "
Der <- "*Last known point*: "
}
Expand Down
5 changes: 4 additions & 1 deletion man/ofce_caption.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1918787

Please sign in to comment.