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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: candidatos
> ### Title: Download candidate data
> ### Aliases: candidatos
> 
> ### ** Examples
> 
> data <- candidatos(
+   tipo_eleccion = "senado", anno = "2004",
+   mes = "03", nivel = "municipio"
+ )
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03200403_MUNI.zip
Error in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] server verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
Calls: candidatos ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
Running examples in ‘infoelectoral-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: candidatos
> ### Title: Download candidate data
> ### Aliases: candidatos
> 
> ### ** Examples
> 
> data <- candidatos(
+   tipo_eleccion = "senado", anno = "2004",
+   mes = "03", nivel = "municipio"
+ )
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03200403_MUNI.zip
Error in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] SSL certificate problem: unable to get local issuer certificate
Calls: candidatos ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
Running examples in ‘infoelectoral-Ex.R’ failed
The error most likely occurred in:

> ### Name: candidatos
> ### Title: Download candidate data
> ### Aliases: candidatos
> 
> ### ** Examples
> 
> data <- candidatos(
+   tipo_eleccion = "senado", anno = "2004",
+   mes = "03", nivel = "municipio"
+ )
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03200403_MUNI.zip
Error in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] SSL certificate problem: unable to get local issuer certificate
Calls: candidatos ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
Running examples in ‘infoelectoral-Ex.R’ failed
The error most likely occurred in:

> ### Name: candidatos
> ### Title: Download candidate data
> ### Aliases: candidatos
> 
> ### ** Examples
> 
> data <- candidatos(
+   tipo_eleccion = "senado", anno = "2004",
+   mes = "03", nivel = "municipio"
+ )
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03200403_MUNI.zip
Error in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] SSL certificate problem: unable to get local issuer certificate
Calls: candidatos ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘infoelectoral.Rmd’ using rmarkdown

Quitting from lines 18-22 [unnamed-chunk-1] (infoelectoral.Rmd)
Error: processing vignette 'infoelectoral.Rmd' failed with diagnostics:
SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] SSL certificate problem: unable to get local issuer certificate
--- failed re-building ‘infoelectoral.Rmd’

--- re-building ‘municipios.Rmd’ using rmarkdown

Quitting from lines 31-32 [unnamed-chunk-2] (municipios.Rmd)
Error: processing vignette 'municipios.Rmd' failed with diagnostics:
SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] SSL certificate problem: unable to get local issuer certificate
--- failed re-building ‘municipios.Rmd’

SUMMARY: processing the following files failed:
  ‘infoelectoral.Rmd’ ‘municipios.Rmd’

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: ‘preferably’
Running examples in ‘infoelectoral-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: candidatos
> ### Title: Download candidate data
> ### Aliases: candidatos
> 
> ### ** Examples
> 
> data <- candidatos(
+   tipo_eleccion = "senado", anno = "2004",
+   mes = "03", nivel = "municipio"
+ )
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03200403_MUNI.zip
Error in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] server verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
Calls: candidatos ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
Package suggested but not available for checking: ‘preferably’
Running examples in ‘infoelectoral-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: candidatos
> ### Title: Download candidate data
> ### Aliases: candidatos
> 
> ### ** Examples
> 
> data <- candidatos(
+   tipo_eleccion = "senado", anno = "2004",
+   mes = "03", nivel = "municipio"
+ )
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03200403_MUNI.zip
Error in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK: [infoelectoral.interior.gob.es] server verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
Calls: candidatos ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted