mail_workshop: Generate presenter email

Description Usage Arguments Details Examples

View source: R/mail_workshop.R

Description

Generate presenter email to be sent two weeks beforehand.

Usage

1
2
3
4
5
6
7
8
mail_workshop(
  workshop_id,
  pres_name,
  lang = c("both", "en", "fr"),
  details_en = "",
  details_fr = "",
  markdownify = TRUE
)

Arguments

workshop_id

workshop identifier, see workshops_df().

pres_name

a character string with the presenter name.

lang

the language of the mail, by default mail will contain both a French and an English version.

details_en

a character string indicating where and when the workshop will be held in English.

details_fr

same as details_en but in French.

markdownify

a logical. Should balstula::md() be used. Default is set to TRUE.

Details

Currently, emails ares generated with blastula::compose_email() and you need to copy paste it.

Examples

1
2
3
mail_en <- mail_workshop(7, "Kevin Cazelles", lang = "en",
  details_en = "\u00e0 l'UdeM, salle A-2553,  campus MIL, le vendredi 28 F\u00e9vrier
  2010 de 13h \u00e0 17h")

QCBSRworkshops/qcbsRworkshops documentation built on Nov. 18, 2020, 11:32 p.m.