wu_new_letter_of_support: New letter of support

View source: R/rmarkdown.R

wu_new_letter_of_supportR Documentation

New letter of support

Description

New letter of support

Usage

wu_new_letter_of_support(
  from_name,
  from_title,
  from_department_type,
  from_department_name,
  from_department_url,
  from_campus_box,
  from_phone,
  from_email,
  to_name,
  to_address,
  date,
  salutation,
  closing,
  body,
  signature = "",
  output = "LOS.Rmd"
)

Arguments

from_name

sender name

from_title

sender title

from_department_type

sender department type

from_department_name

sender department name

from_department_url

sender department url

from_campus_box

sender campus box

from_phone

sender phone

from_email

sender email

to_name

recipient name

to_address

recipient address

date

letter date

salutation

letter greeting

closing

letter closing

body

body of letter

signature

path to signature file (empty string for no signature)

output

RMarkdown output

Examples

## Not run: 
## some yaml may require quotes, e.g.:
## - salutation because of the colon
## - signature if spaces in path
wu_render_letter_of_support(
  "Matthew J. Schuelke, PhD",
  "Research Statistician",
  "Division",
  "Biostatistics",
  "https://biostatistics.wustl.edu",
  "8067",
  "+1 314 362-0000",
  "schuelke@wustl.edu",
  "Christopher Robin",
  c("11 Mallord Street", "LONDON", "SW3 6DT", "UK"),
  Sys.Date(),
  "\"To Whom It May Concern:\"",
  "Sincerely,",
  letter_of_support_body("The Woozle Effect"),
  paste0("\"", Sys.getenv("WU_SIGNATURE"), "\"")
)

## End(Not run)

the-mad-statter/washu documentation built on May 5, 2024, 10:26 a.m.