GithubHelp home page GithubHelp logo

mitchelloharawild / vitae Goto Github PK

View Code? Open in Web Editor NEW
1.2K 25.0 226.0 4.66 MB

R Markdown Résumés and CVs

Home Page: https://pkg.mitchelloharawild.com/vitae/

R 60.85% Lua 7.52% CSS 31.64%
ozunconf18 resume r cv unconf r-package rstats

vitae's Introduction

vitae

/ˈviːteɪ/

CRAN status R check status Lifecycle: maturing Downloads

Templates and tools for making a Résumé/CV

The vitae package makes creating and maintaining a Résumé or CV with R Markdown simple. It provides a collection of LaTeX and HTML templates, with helpful functions to add content to the documents.

Installation

You can install the release version from CRAN.

install.packages('vitae')

You can install the development version from GitHub.

# install.packages("remotes")
remotes::install_github("mitchelloharawild/vitae")

This package requires LaTeX to be installed on your computer. If you’re encountering issues, please check that LaTeX is installed. The tinytex package makes it easy to setup LaTeX within R:

install.packages('tinytex')
tinytex::install_tinytex()

Getting started

The vitae package currently supports 6 popular CV templates. You can see some previews of the available templates below.

If you prefer a guided introduction in video form, check out Bryan JenksfreeCodeCamp tech talk:

Creating a new CV with vitae can be done using the RStudio R Markdown template selector:

These templates leverage the strength of rmarkdown to include common information in the YAML header (name, position, social links…) and extended information in the main body. The main body of the CV is written using markdown, and allows for data-driven generation of entries using the *_entries functions. This allows you to import your working history from other sources (such as ORCID, Google Scholar, or a maintained dataset), and include them programmatically into your CV.

Templates

There are currently 6 templates available in this package:

vitae::awesomecv vitae::hyndman
Preview of awesomecv Preview of hyndman
vitae::latexcv vitae::markdowncv
Preview of latexcv Preview of markdowncv
vitae::moderncv vitae::twentyseconds
Preview of moderncv Preview of twentyseconds

Extending the package to add new templates is a somewhat simple process (details in the creating vitae templates vignette).

Examples of using vitae

Add your vitae to the list using a PR.


Please note that the ‘vitae’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

The vitae project began as at rOpenSci’s OzUnconf 2018. A big thank you to rOpenSci and the event organisers for their work, which has played a big role in the formation of this package.

vitae's People

Contributors

aariq avatar akirosingh avatar bisaloo avatar brooksambrose avatar chrisumphlett avatar ganthonyr avatar isabelle-greco avatar jonmcalder avatar jsta avatar loreabad6 avatar marthinsen avatar mitchelloharawild avatar mlampros avatar mlombardi6 avatar rekyt avatar rlumsk avatar robjhyndman avatar robwiederstein avatar statkim avatar tallguyjenks avatar yihui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vitae's Issues

Error on knitting hydman template pdf output

CV.log
Please briefly describe your problem and what output you expect.

Please include a minimal reproducible example (AKA a reprex). Reproducible examples can be easily produced using the reprex package.


On testing package for the first time, I've got an error on generation output pdf

# insert reprex here
processing file: CV.Rmd
  |.................................................................| 100%
  ordinary text without R code


"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS CV.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output CV.tex --table-of-contents --toc-depth 2 --template "C:\Users\rave1\Documents\R\win-library\3.5\vitae\rmarkdown\templates\hyndman\resources\hyndmantemplate.tex" --number-sections --highlight-style tango --latex-engine pdflatex --biblatex --variable tables=yes --standalone --include-in-header "C:\Users\rave1\AppData\Local\Temp\RtmpyOVLHv\cv-header1d8cc66408a.tex" 
output file: CV.knit.md


Output created: CV.pdf
Error in tools::file_path_as_absolute(output_file) : 
  file 'CV.pdf' does not exist
Calls: <Anonymous> -> <Anonymous>
Además: Warning message:
In readLines(logfile) : incomplete final line found on 'CV.log'
Ejecución interrumpida

Possible to control templates within .Rmd?

I'm not sure if this is possible, because I don't know much about pandoc or latex. Would it be possible to control some basic options like margins and font sizes through the .Rmd document rather than having to edit the template? I love this package so far for its simplicity, but I wonder if there is a middle ground that allows some flexibility without having to all-out edit the latex templates.

function "detailed_entries"

Hi,

Saw a mention of this package on twitter, thought I'd try it out. Have installed it with devtools, and dependencies. I've authenticated orcid, and am trying to pass my orcid to it. Getting this error, which seems odd. I think I must be missing something in my setup? Using the code snippet for '#education' from your slides. Thanks.

Error in detailed_entries(., what = `role-title`, when = glue::glue("{`start-date.year.value`} - {`end-date.year.value`}"),  : 
  could not find function "detailed_entries"
Calls: <Anonymous> ... eval -> _fseq -> freduce -> withVisible -> <Anonymous>
Execution halted

Allow alternate CSL for formatting bibliography

Hi there - I'm really liking this package for getting my CV up to date. One feature I really like in standard RMarkdown is the ability to specify alternate CSL files for formatting the bibliography:

https://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html#citation_styles

Would it be possible for vitae to support csl in the YAML header, and pass it on to pandoc/latex?

I looked at the pandoc_args in:

cv_document(..., pandoc_args = NULL, pandoc_vars = NULL)

... but couldn't figure out how to make this work. Thanks!

Vignette for interfacing with other packages (rorcid, scholar, etc.)

I am unable to knit the document when I try to pull data from my ORCID account. I have tried everything suggested by ?orid_auth. I get the following error:

Error: In non-interactive environments, please set ORCID_TOKEN env to a ORCID access token, see ?orcid_auth for details
Execution halted

Any solutions to this?

Main body contents

Summarise into topics that handle:

  • what
  • with
  • when
  • where
  • why

Two types of output styles:

  • detailed_entries
  • brief_entries

Centering 'name' and justifying 'about me'

Hello.

First of all, I'd like to thank Mitchell and Rob for their contribution to R community with this useful package. I'm using it in order to make a better CV and I'm very satisfied with it.

However, I'm having two issues that I need to solve. In Spain we use two surnames, so name's section has two lines. A good solution might be centering the text. I've been trying to modify the template but I don't have enough Latex knowledge to do that. Also I tried to include a \center in that part (but it doesn't work either):


name: \center JOSÉ ANTONIO \newline XXX YYY

In the same way, I want to justify the text that appears in About me's section. \justify is not working for me as \newline does.

Thank you for your help :D

Homepage link not working

The www: link is not working in the moderncv template. When I render to pdf it shows up as 'http//[address]' rather than 'http://[address]'

The same issue is in the sample CV shown in the Readme.

l3regex.sty not found

When I try to knit a moderncv template, it calls tidytex to search for l3regex.sty, but that isn't found and I get the following error in the R Markdown tab:

tlmgr search --file --global '/l3regex.sty'
! LaTeX Error: File `l3regex.sty' not found.

! Emergency stop.
<read *> 

Error: Failed to compile Untitled.tex. See Untitled.log for more info.
In addition: Warning message:
In parse_packages(logfile, quiet = c(TRUE, FALSE, FALSE)) :
  Failed to find a package that contains l3regex.sty
Execution halted

Fix awesome-cv issues

@robjhyndman

I've done as much LaTeX as I'm familiar with for the awesome-cv template, there's a few things left that I'm unsure about.

  1. The font for the template requires (xe/lua)latex, can this be changed to work with the default R Markdown engines?
  2. The email yaml field is causing issues with href being defined twice (once from pandoc/R Markdown, and once in the cls for \email)

Improve bibliography creation

  • Templates should only include bibliography sections where required
  • Arbitrary bib limits should be fixed
  • Change print_bibliography to bibliography_entries for consistency with existing functions

Template directives in YAML?

Hi,

I'm trying to switch my old CV, manually curated, to a semi-automated version using vitae. My CV is based on moderncv, which is already a good start. However, I don't use the default theme (casual), but another one called classic. In LaTeX, the theme is set with this directive in the preamble of the file:

\moderncvtheme{classic}

Is there a way to set this option through the YAML header of the RMarkdown file?

Other options include the color, for instance:

\moderncvcolor{blue}

There might be others too…

Thanks to the developers of this great package, very useful!

I Just try to knit the awesome template on Windows 10 and got errror

the top part is like this

---
name: Marie Curie
position: "Professor"
address: "School of Physics & Chemistry, �cole Normale Supérieure"
phone: +1 22 3333 4444
www: mariecurie.com
email: "[email protected]"
twitter: mariecurie
github: mariecurie
linkedin: mariecurie
date: "`r format(Sys.time(), '%B %Y')`"
output: vitae::awesomecv
---

so it complained but if I remove the weird characters � and é then it compiles (knits)

Package functionality (from ozunconf18 issue)

Résumés for R Markdown 👷‍♂️ 👷‍♀️

I've had my résumé as a R Markdown template for a few months now, and @robjhyndman has recently converted his CV too (https://github.com/robjhyndman/CV).

I think using R Markdown for CVs is a great match. This is especially true for listed elements (education, experience, accolades) which can be filled in from an external source (or perhaps filtered by tags).

Suggested features

My hopes and dreams for a Résumés package would include these features:

  • A variety of templates (list of popular open source resumes templates)
  • Functions to produce listed sections (education, experience, accolades)
  • Functions/add-in(s) to maintain a résumé contents dataset
  • Tagging system for entries, to support generation of tag-specific résumés
  • Integration with other packages to fill with data from scholar, orcid, and other libraries/packages

Suggested templates

knitting hyndman template throws undefined control sequence error

When I create a new document from template using the hyndman template and click "knit" without making any changes, I get the following error:

! Undefined control sequence.
l.153 \ExecuteBibliographyOptions
                                 {useprefix=true} 
Here is how much of TeX's memory you used:
 14365 strings out of 492649
 207974 string characters out of 6129622
 330406 words of memory out of 5000000
 18117 multiletter control sequences out of 15000+600000
 5093 words of font info for 17 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 37i,0n,54p,1015b,157s stack positions out of 5000i,500n,10000p,200000b,80000s

Error: Failed to compile ModernCV.tex. See ModernCV.log for more info.
Execution halted

Issues compiling awesome-cv on macOS

Using TinyTex I cannot compile (knit) the awesome-cv template (as it's provided) even when I have the FontAwesome font installed.

I've had to add:
\defaultfontfeatures{Extension = .otf}

To line 77 of awesome-cv.cls , once I've done this it compiled (well, after I had to install some other fonts using tlmgr externally but that's not a vitae issue). Not sure if other systems are affected by this?

moderncv email not showing up

Hi, thanks for making such a cool and useful package!

I've been playing around with this & I'm very impressed. One thing I've noticed is that while the moderncv template looks amazing, the email address doesn't show up (the symbol does). This is true both for the default Marie Curie example and for versions I try to edit. Emails show up when I switch to another cv format (e.g., awesomecv).

Thanks so much,

John

Unable to knit awesomecv template - issue with unicode-math-table?

I was trying to create a CV using the awesomecv template and found myself getting the following error message when kniting:
! Undefined control sequence.
l.931 \file_get:nnN
{unicode-math-table.tex} {} \l__um_mathtable_tl

I tried just knitting directly from the unedited template when you create a new Rmarkdown document but just got the same error.
Untitled.log

If it's relevant, here's my sessionInfo

R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] reprex_0.2.0 vitae_0.1.0

loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 pillar_1.3.1 compiler_3.5.1 bindr_0.1.1 tools_3.5.1 testthat_2.0.1
[7] digest_0.6.18 pkgbuild_1.0.0 pkgload_1.0.0 evaluate_0.12 memoise_1.1.0 tibble_2.0.1
[13] pkgconfig_2.0.2 rlang_0.3.1 cli_1.0.1 rstudioapi_0.9.0 yaml_2.2.0 xfun_0.4
[19] bindrcpp_0.2.2 withr_2.1.2 dplyr_0.7.8 knitr_1.21 fs_1.2.5 desc_1.2.0
[25] devtools_1.13.6.9000 rprojroot_1.3-2 tidyselect_0.2.5 glue_1.3.0 R6_2.3.0 processx_3.2.0
[31] rmarkdown_1.11 purrr_0.3.0 callr_2.0.4 magrittr_1.5 usethis_1.4.0 backports_1.1.2
[37] ps_1.1.0 htmltools_0.3.6 assertthat_0.2.0 crayon_1.3.4

bibliography_entries results in error

I tried using bibliography_entries to insert a list of publications to the output CV with the following code chunk:

```{r pubs}
bibliography_entries("bibs/prep.bib", "In Preparation")
```

and encounter the following error:

Error: Failed to build the bibliography via biber
Execution halted
Warning message:
LaTeX Warning(s):
  You have requested, on input line 37, version
  File `headshots/Brain Orange.jpg' not found on input line 160.
  Empty bibliography on input line 289.
  Citation 'ben-shachar_spontaneous_nodate' undefined on input lin
  Citation 'berger_brain_nodate' undefined on input line 293.
  Citation 'shmueli_deficits_nodate' undefined on input line 293.
  There were undefined references.
  Label(s) may have changed. Rerun to get cross-references right. 

(Perhaps it should be noted that the File 'headshots/Brain Orange.jpg' not found on input line 160. does not appear when not calling bibliography_entries)

I've tried putting the prep.bib in the main folder - and get the same error. The bibliography_entries function itself seems to work fine:

bibliography_entries("bibs/prep.bib", "In Preparation")
# A tibble: 3 x 4
  bibtype title                                  author                                 key          
* <chr>   <chr>                                  <chr>                                  <chr>        
1 Article Spontaneous {Focusing} on {Numerosity~ Mattan S. Ben-Shachar and D. Shotts-P~ ben-shachar_~
2 Article Brain {Responses} to {Error} {Detecti~ Andrea Berger and Michael Shmueli and~ berger_brain~
3 Article Deficits in {Automatic} {Processing} ~ Michael Shmueli and Mattan S. Ben-Sha~ shmueli_defi~

I'm using the awesomecv template. The .bib file, created with zotero, can be found here.

> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] bindrcpp_0.2.2

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.0       rstudioapi_0.9.0 xml2_1.2.0       knitr_1.21       bindr_0.1.1     
 [6] magrittr_1.5     tidyselect_0.2.5 R6_2.3.0         rlang_0.3.1      bibtex_0.4.2    
[11] fansi_0.4.0      plyr_1.8.4       httr_1.4.0       stringr_1.3.1    dplyr_0.7.8     
[16] tools_3.5.1      xfun_0.4         utf8_1.1.4       cli_1.0.1        htmltools_0.3.6 
[21] yaml_2.2.0       assertthat_0.2.0 digest_0.6.18    tibble_2.0.1     crayon_1.3.4    
[26] purrr_0.2.5      RefManageR_1.2.0 glue_1.3.0       evaluate_0.12    rmarkdown_1.11  
[31] stringi_1.2.4    compiler_3.5.1   pillar_1.3.1     lubridate_1.7.4  jsonlite_1.6    
[36] vitae_0.1.0      pkgconfig_2.0.2 

Interface for bibliography_entries

It would be great to be able to reorder dates of publications when using bibliography_entries(). It automatically sets an ascending order, when the most common way for CVs is using more recent dates first.

LaTeX Warning: There were undefined references.

Reproducing an issue submitted via email, with the hopes that others experiencing this issue will find the solution below:

I've just started to try and teach myself R Markdown, and specifically I am trying to put together a CV using your Vitae app which is great! I have come across a bit of a stumbling block, and search as I might I can't find a solution to my problem. I have a bibtex file with two citations in, but when I try and read them in/knit the markdown/vitae script, only one appears on the pdf, and I get the following message:

Output created: CV.pdf
Warning message:
Package biblatex Warning: '\DeclareSortingScheme' is deprecated.
(biblatex)                Please use '\DeclareSortingTemplate'.
Package biblatex Warning: The following entry could not be found
(biblatex)                in the database:
(biblatex)                article:1
(biblatex)                Please verify the spelling and rerun
(biblatex)                LaTeX afterwards.
Package biblatex Warning: citation 'article:1' was not found at all in the .bbl
, bibliography labels cannot be generated, please correct the citation.
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please rerun LaTeX.
(biblatex)                Page breaks have changed.    

cvskills

Very good job and beautiful format indeed!
I had two issues so far:

  1. R was unable to run 'cvskill' function.
  2. it is not urgent, but in Teaching Associate part, it'd be nice to mention the University name and location once, and then add each class and dates accordingly. The repetition of those information is not appealing.

Brief description of the problem

 cvskill("Data Analysis", c("Visualisation", "Data Cleaning", "Forecasting", "Modelling", "Communication", "Inference", "Machine Learning", "Web Scraping"))
 cvskill("Programming", c("R", "Python", "SQL", "Java", "C", "C++", "HTML/CSS", "TeX", "MATLAB")) 
 

Headcolor

I want to give color to my headers when using output: vitae::awesomecv, for example:

"Some stuff about me", "Education", "Experience", "Awards and Achievements" should be in other color, eg. blue.

I'm using the headcolor attribute in YALM but it only colors first 3 letters of headers.

For example, when using Mitchell's CV format, I would like to have header to blue.

https://github.com/mitchelloharawild/CV/blob/master/CV.pdf

Is there a pagedown or something with the proper documentation?

---
name: Omar André Gonzáles Díaz
position: "Programador BackEnd"
address: "Universidad de Piura"
phone: 98-800-8026
# profilepic: mariecurie.jpg
# www: mariecurie.com
email: "[email protected]"
twitter: o_gonzales
github: OmarGonD
linkedin: omargonzales
date: "`r format(Sys.time(), '%B %Y')`"
aboutme: "Estudié en la Facultad de Comunicación de la mejor universidad del Perú, me dediqué al marketing digital por algunos años y ahora quiero enfocarme en el desarrollo de aplicaciones web."
headcolor: 224190
output: vitae::awesomecv
---

entry functions don't work in loop

I would like to generate a CV programmatically, i.e., by reading out data from a spreadsheet, generating a data frame / tibble that contains (sub)heading titles and the corresponding data, and then looping over this data frame within an RMarkdown code chunk. My goal is to provide this workflow to someone without programming knowledge so that (s)he can just fill out the spreadsheet, add/remove sheets to add sections, etc. and have the CV being generated without ever having to write R or RMarkdown code.

Unfortunately, using the detailed_entries()/simple_entries() functions doesn't seem to work within a loop. It would be great if you point me in the right direction.

Here a simplified version (that doesn't parse a spreadsheet, but just feeds a dataframe with section names and data to RMarkdown):

file compile.R

library(tidyverse)
library(vitae)
library(pander)
library(rmarkdown)

edu <- rorcid::orcid_educations("0000-0001-6729-7695")
df_education <- edu$`0000-0001-6729-7695`$`education-summary` %>%
  transmute(
    what = `role-title`,
    when = glue::glue("{`start-date.year.value`} - {`end-date.year.value`}"),
    with = organization.name,
    where = organization.address.city,
    why = NA
  ) %>% 
  as_tibble()

df_packages <- pkgsearch::ps("O'Hara-Wild",size = 100) %>%
  filter(purrr::map_lgl(package_data, ~ grepl("Mitchell O'Hara-Wild", .x$Author, fixed = TRUE))) %>%
  arrange(desc(downloads_last_month)) %>%
  transmute(
    what = title,
    when = lubridate::year(date),
    with = description
  )

sections <- tribble(
  ~name, ~data,
  "Education", df_education,
  "Packages", df_packages
)

render("CV.Rmd")

file CV.Rmd

---
name: Mitchell O'Hara-Wild
date: "`r format(Sys.time(), '%B, %Y')`"
qualifications: BCom(Hons), BSc
position: Data Scientist
address: 58 Madeleine Rd, Clayton
phone: +61 408 259 421
email: [email protected]
website: mitchelloharawild.com
github: mitchelloharawild
linkedin: mitchelloharawild
twitter: mitchoharawild
headcolor: 414141
output: vitae::awesomecv
---
  
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```

```{r, results='asis'}
for (i in 1:nrow(sections)){
  row <- slice(sections, i)
  
  pandoc.header(row$name, level = 1, "atx")
  
  data <- row$data[[1]]
  if (ncol(data) == 3){
    data %>% 
      brief_entries(what, when, with)
  } else {
    data %>% 
      detailed_entries(what, when, with, where, why)
  }
  
  cat("\n\n")
}
```

"FontAwesome" cannot be found

I'm having trouble knitting the Marie Curie CV template.

The code is:

---
name: Marie Curie
position: "Professor"
address: "School of Physics & Chemistry, École Normale Supérieure"
phone: +1 22 3333 4444
www: mariecurie.com
email: "[email protected]"
twitter: mariecurie
github: mariecurie
linkedin: mariecurie
date: "`r format(Sys.time(), '%B %Y')`"
output: vitae::moderncv

---

{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(vitae)


# Some stuff about me

 * I poisoned myself doing research.
 * I was the first woman to win a Nobel prize
 * I was the first person and only woman to win a Nobel prize in two different sciences.

I get the following error:

output file: cv.knit.md

tlmgr search --file --global '/FontAwesome[.](tfm|afm|mf|otf)'
Trying to automatically install missing LaTeX packages...
tlmgr install fontawesome
tlmgr: package repository http://mirror.hmc.edu/ctan/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr install: package already present: fontawesome
tlmgr path add
tlmgr search --file --global '/FontAwesome[.](tfm|afm|mf|otf)'
! Package fontspec Error: The font "FontAwesome" cannot be found.

Error: Failed to compile cv.tex. See cv.log for more info.
Execution halted

Knitting other Rmd files to PDF works, so I think this is a vitae-specific issue. I'm using TinyTex.

Thanks!

! Package biblatex Error: Category 'bibRefereed journal papers' already declared.

Similar to the RobHyndmanCV.rmd, I tried to create more than two bib lists (see below). However, when I do this, I get the following error: ! Package biblatex Error: Category 'bibRefereed journal papers' already declared. When I run only one of the scripts (thesis or research-papers) it works fine. First I thought it could be related to my Miktex installation. I deleted it and replaced with tinytex but the error remains, hence, I assume it must be something in the package.

PhD thesis

bibliography_entries("bib/VanDijk.bib", startlabel = "papersstart") %>%
  filter(bibtype == "PhdThesis")

Refereed research papers

# Normal articles excluding editorials
bibliography_entries("bib/VanDijk.bib") %>%
 filter(bibtype == "Article") %>%
  arrange(year, author)

Insert new line in name field

Please briefly describe your problem and what output you expect.

Please include a minimal reproducible example (AKA a reprex). Reproducible examples can be easily produced using the reprex package.


I need to insert a line break after my second name in the name field.

Tried this \\tabularnewline without success.

---
name: Omar André \\tabularnewline Gonzáles Díaz
position: "Programador BackEnd"
address: "Universidad de Piura"
phone: 98-800-8026
profilepic: mariecurie.jpg
# www: mariecurie.com
email: "[email protected]"
twitter: o_gonzales
github: OmarGonD
linkedin: omargonzales
date: "`r format(Sys.time(), '%B %Y')`"
aboutme: "Estudié en la Facultad de Comunicación de la mejor universidad del Perú, me dediqué al marketing digital por algunos años y ahora quiero enfocarme en el desarrollo de aplicaciones web."
output: vitae::twentyseconds
---

Awesome CV template doesn't knit

I'm using the development version of vitae from github. If I create a new document using the awesome CV format and click "knit", I get the following error. I'm also experiencing issue #46, if that's helpful.

output file: awesomecv-test.knit.md

! Paragraph ended before \makecvfooter was complete.
<to be read again> 
                   \par 
l.111 

Error: Failed to compile awesomecv-test.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See awesomecv-test.log for more info.
Execution halted
sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.3

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.0       crayon_1.3.4     packrat_0.5.0    digest_0.6.18    dplyr_0.8.0.1   
 [6] assertthat_0.2.0 R6_2.4.0         magrittr_1.5     evaluate_0.13    pillar_1.3.1    
[11] rlang_0.3.1      rstudioapi_0.9.0 rmarkdown_1.11   tools_3.5.2      glue_1.3.0      
[16] tinytex_0.10.12  purrr_0.3.1      xfun_0.5         yaml_2.2.0       compiler_3.5.2  
[21] pkgconfig_2.0.2  htmltools_0.3.6  vitae_0.1.0.9000 tidyselect_0.2.5 knitr_1.22      
[26] tibble_2.0.1

Bibliographic entries sorted reverse year (most recent first)

Happy puttering with the vitae package, thanks for its creation


Wishing that bibliography could be generated in "most recent first" order. I assume this can be solved with the sorting argument, but documentation and source code doesn't provide me with hints as to how to do this.

This attempt fails

bibliography_entries("rexstad.bib", "Refereed journal articles") %>%
  filter(bibtype %in% c("Article")) %>%
  arrange(desc(year))

this code (when run outside of knit) produces tibble sorted the way I desire, courtesy of arrange(), but this is (probably) undone by the default sorting="ynt" of the bibliographic_entries() function. Attempting

bibliography_entries("rexstad.bib", "Refereed journal articles", sorting="desc(y)")

generates an error. What is the proper syntax for reverse chronological order?

Error compiling/previewing templates

Excited to try this package, but I've tried previewing each template (without modification) in both the CRAN and development versions and encounter a persistent error:

Error: Failed to compile <file name>.tex
In addition: Warning message:
In system2(..., stdout = FALSE, stderr = FALSE) : error in running command
Execution halted

I also tried pasting the contents of one of the featured examples.

PDF<-->MS Word Production

Can't find an 'enhancement' label but one of biggest issues as an R user and professional resume writer is that too many employers and agencies ask for MS Word versions. While I abhor that format, it is reality. The great LaTex typsetting gets destroyed running through Pandoc for .doc/.docx. Although Rmarkdown is supposed to be able to render into Word nicely with a reference doc, that isn't the case. I must have 10 Word templates I can't wrestle into use because of this.

If anyone has trailheads on nearly identical formats creation, would appreciate! Thanks all.

Add skill indicators

Many templates provide a section for skills, which should be possible to include via vitae.
The YAML header is probably the right place for this.

Support for hyperlinks in `detailed_entries`

Hi! I really like this package and find it very helpful :)

I have one question: it seems to me that the current detailed_entries doesn't display hyperlinks the way normal markdown does. For example, in the following simplified example, I was hoping to display [url_name](www.google.com) as a hyperlink but the result is the raw string as is.

tibble::tribble(
  ~what,
  "[url_name](www.google.com)"
) %>%
  detailed_entries(
    what = what
  )

Is it possible to add a support for that or is there a workaround for it?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.