-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaaa.R
44 lines (41 loc) · 926 Bytes
/
aaa.R
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
.names <- list(
internals = list(
id = "id",
initials = "initials",
literal_name = "literal_name",
corresponding = "corresponding",
role = "role"
),
primaries = list(
given_name = "given_name",
family_name = "family_name"
),
secondaries = list(
orcid = "orcid",
email = "email",
phone = "phone",
fax = "fax",
url = "url"
),
nestables = list(
affiliation = "affiliation",
note = "note"
)
)
.col_bullets <- list(
corresponding = c(
i = "Did you forget to assign corresponding authors?",
i = "Use `set_corresponding_authors()` to set corresponding authors."
)
)
.links <- list(
crt = c("Contributor Roles Taxonomy", "https://credit.niso.org"),
quarto_schemas = c(
"author and affiliations schemas",
"https://quarto.org/docs/journals/authors.html"
)
)
link <- function(id) {
els <- .links[[id]]
md_link(els[[2]], els[[1]])
}