-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcreate_workshop_certificates.Rd
98 lines (80 loc) · 3.12 KB
/
create_workshop_certificates.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_workshop_certificate.R
\name{create_workshop_certificates}
\alias{create_workshop_certificates}
\title{Create certificates for all attendees}
\usage{
create_workshop_certificates(
attendees,
workshop,
date,
location,
curriculum,
certifier,
credentials,
organization,
organization_url,
dir = ".",
title = "CERTIFICADO DE CONCLUSÃO",
action_text = "participou do curso",
curriculum_title = "Conteúdos do curso:",
signature = NULL,
signature_skip = -0.4,
logo = "R",
border_image = NULL,
papersize = "a4paper",
keep_tex = FALSE
)
}
\arguments{
\item{attendees}{Names of attendees, character vector.}
\item{workshop}{Workshop title, character.}
\item{date}{Date of the workshop, as a date.}
\item{location}{Location of the workshop, character.}
\item{curriculum}{Path to the workshop curriculum (.md), character.}
\item{certifier}{Person certifying, character.}
\item{credentials}{Credentials of the certifying person, character.}
\item{organization}{Description of the organization running the workshops.}
\item{organization_url}{URL of the organization website, without https://.}
\item{dir}{Directory where to output the pdf certificates, character.}
\item{title}{Title for certificate.}
\item{action_text}{Action text between name and workshop title.}
\item{curriculum_title}{Header before curriculum content.}
\item{signature}{The path to an image to use as a signature.}
\item{signature_skip}{The space to skip between the signature image and the
signature line (units: cm).}
\item{logo}{The logo to use for the watermark, as a path to a logo
file or the name of a logo included in the package: either \code{"R"}
(default), or \code{"Forwards"}.}
\item{border_image}{Specify an image to use to create a border, as a path
to an image file. Defaults are used for the included logos: plain blue for
\code{logo = R} and a magma colour scale for \code{logo = "Forwards"}.}
\item{papersize}{Option for LaTeX article class specifying paper size, e.g.
\code{"a4paper"}, \code{"letterpaper"}.}
\item{keep_tex}{Logical argument passed to rmarkdown::render.}
}
\description{
Create certificates for all attendees
}
\examples{
\dontrun{
# Fake names generated via charlatan::ch_name
attendees <- c("Marnie Dickinson", "Dr. Marlin Wilderman")
workshop <- "Package development workshop"
date <- as.Date("2018-01-01")
location <- "University of Lorraine"
curriculum <- system.file("rmarkdown", "templates",
"workshop_certificate", "resources",
"default_workshop_contents.md", package = "certificate")
certifier <- "Zaire Crooks"
credentials <- "Forwards teaching team member"
organization <- "Forwards, the R Foundation taskforce for women and other
under-represented groups"
organization_url <- "forwards.github.io/"
dir <- "certificates"
create_workshop_certificates(attendees, workshop, date, location,
curriculum, certifier, credentials,
organization, organization_url,
dir)
}
}