create_workshop_certificates: Create certificates for all attendees

Description Usage Arguments Examples

View source: R/create_workshop_certificate.R

Description

Create certificates for all attendees

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
create_workshop_certificates(
  date,
  location,
  workshop,
  curriculum,
  certifier,
  credentials,
  attendees,
  dir = ".",
  papersize = "a4paper",
  keep_tex = FALSE
)

Arguments

date

Date of the workshop, as a date.

location

Location of the workshop, character.

workshop

Workshop title, character.

curriculum

Path to the workshop curriculum (.md), character.

certifier

Person certifying, character.

credentials

Credentials of the certifying person, character.

attendees

Names of attendees, character vector.

dir

Directory where to output the pdf certificates, character.

papersize

Option for LaTeX article class specifying paper size, e.g. '"a4paper"', '"letterpaper"'.

keep_tex

Logical argument passed to rmarkdown::render

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
# Fake names generated via charlatan::ch_name
attendees <- c("Marnie Dickinson", "Dr. Marlin Wilderman")
date <- as.Date("2018-01-01")
location <- "University of Lorraine"
workshop <- "Package development workshop"
curriculum <- system.file("rmarkdown", "templates",
"workshop_certificate", "resources",
"default_workshop_contents.md", package = "fwdbrand")
certifier <- "Zaire Crooks"
credentials <- "Forwards teaching team member"
dir <- "certificates"
create_workshop_certificates(date, location, workshop, curriculum,
 certifier,
credentials,
attendees,
dir)

## End(Not run)

forwards/branding documentation built on Dec. 4, 2020, 4:38 p.m.