Running examples in ‘ChocoLattes-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: make_productions_page
> ### Title: Generate HTML page with productions list and summary chart
> ### Aliases: make_productions_page
> 
> ### ** Examples
> 
> 
> # Load example data and convert it to a lattes list
> CV.dir <- system.file("extdata", package="ChocoLattes")
> 
> # Define the aliases of authors "Felipe Campelo" and "Lucas S. Batista":
> # (all aliases will be converted to the first name provided for each author)
> my.aliases <- list(c("Felipe Campelo",
+                      "Felipe Campelo Franca Pinto",
+                      "Felipe Campelo F. Pinto",
+                      "F.C.F. Pinto"),
+                    c("Lucas S. Batista",
+                      "Lucas Batista",
+                      "Lucas de Souza Batista",
+                      "Lucas Souza Batista"))
> 
> lattes.list <- lattes_to_list(CV.dir         = CV.dir,
+                               author.aliases = my.aliases)
> 
> 
> # Build productions page:
> make_productions_page(lattes.list,
+                       chart.type     = "ggplot2",
+                       h1.title       = "ORCS Lab",
+                       h2.title       = "UFMG, Brazil",
+                       language       = "EN")


processing file: prod_page.Rmd
  ordinary text without R code

label: setup (with options) 
List of 4
 $ include: logi FALSE
 $ echo   : logi FALSE
 $ warning: logi FALSE
 $ error  : logi FALSE

label: unnamed-chunk-1 (with options) 
List of 6
 $ results  : chr "asis"
 $ echo     : logi FALSE
 $ comment  : logi NA
 $ tidy     : logi FALSE
 $ fig.align: chr "center"
 $ fig.width: num 9

Quitting from lines 17-39 (prod_page.Rmd) 
Error in grid.Call.graphics(C_setviewport, vp, TRUE) : 
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
Calls: make_productions_page ... push.vp.vpTree -> push.vp -> push.vp.viewport -> grid.Call.graphics
Execution halted