mitchelloharawild / vitae

R Markdown Résumés and CVs
https://pkg.mitchelloharawild.com/vitae/
1.22k stars 237 forks source link

Including ORCiD in YAML Header for awesomecv Gives Error #190

Closed reedstubbendieck closed 2 years ago

reedstubbendieck commented 2 years ago

According to #64. there should be orcid support in awesomecv. However, I recently updated the vitae package and now whenever I include an ORCiD in the YAML header, I receive the following error:

! Undefined control sequence.
l.68 \orcid
       {0000-0000-0000-0000}

Error: LaTeX failed to compile CV_test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See CV_test.log for more info.
Execution halted

Is there something that I am missing to get this to work?


See below for reproducible example:

surname: Firestname Lastname
position: "Insert Position Here"
address: "Insert Work Address Here"
phone: +1 555-555-5555
orcid: 0000-0000-0000-0000
www: google.com
email: "address@email.edu"
date: "`r format(Sys.time(), '%B %Y')`"
headcolor: 414141
output: vitae::awesomecv

knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(vitae)