Last updated on 2024-10-06 06:50:18 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.2 | 4.44 | 46.04 | 50.48 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.2 | 3.83 | 33.46 | 37.29 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.2 | 85.33 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.2 | 53.42 | ERROR | |||
r-devel-windows-x86_64 | 1.0.2 | 7.00 | 248.00 | 255.00 | OK | |
r-patched-linux-x86_64 | 1.0.2 | 4.78 | 43.18 | 47.96 | ERROR | |
r-release-linux-x86_64 | 1.0.2 | 5.00 | 43.21 | 48.21 | ERROR | |
r-release-macos-arm64 | 1.0.2 | 123.00 | OK | |||
r-release-macos-x86_64 | 1.0.2 | 229.00 | OK | |||
r-release-windows-x86_64 | 1.0.2 | 8.00 | 256.00 | 264.00 | OK | |
r-oldrel-macos-arm64 | 1.0.2 | 202.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.2 | 356.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.2 | 9.00 | 314.00 | 323.00 | OK |
Version: 1.0.2
Check: examples
Result: ERROR
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
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(infoelectoral)
>
> test_check("infoelectoral")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MESA.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_TOTA.zip
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-all-elections-provincias.R:24:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-candidatos.R:11:1'): (code run outside of `test_that()`) ───────
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)
Backtrace:
▆
1. ├─... %>% filter(codigo_provincia != "99") at test-candidatos.R:11:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::candidatos("senado", "2023", "07", nivel = "municipio")
4. └─infoelectoral:::candidatos_senado(anno, mes, nivel)
5. └─infoelectoral:::senado_municipios(anno, mes)
6. └─infoelectoral:::download_bin(url, temp)
7. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
8. └─httr:::request_perform(req, hu$handle$handle)
9. ├─httr:::request_fetch(req$output, req$url, handle)
10. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-mesas.R:8:1'): (code run outside of `test_that()`) ─────────────
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)
Backtrace:
▆
1. ├─mesas("congreso", x$anno, x$mes) %>% ... at test-mesas.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::mesas("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-municipios.R:8:1'): (code run outside of `test_that()`) ────────
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)
Backtrace:
▆
1. ├─municipios("congreso", x$anno, x$mes) %>% ... at test-municipios.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::municipios("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-provincias.R:8:1'): (code run outside of `test_that()`) ────────
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)
Backtrace:
▆
1. ├─provincias("congreso", x$anno, x$mes) %>% ... at test-provincias.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::provincias("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64
Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR
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] server verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
--- 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] server verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
--- failed re-building ‘municipios.Rmd’
SUMMARY: processing the following files failed:
‘infoelectoral.Rmd’ ‘municipios.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.0.2
Check: examples
Result: ERROR
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(infoelectoral)
>
> test_check("infoelectoral")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MESA.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_TOTA.zip
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-all-elections-provincias.R:24:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-candidatos.R:11:1'): (code run outside of `test_that()`) ───────
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
Backtrace:
▆
1. ├─... %>% filter(codigo_provincia != "99") at test-candidatos.R:11:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::candidatos("senado", "2023", "07", nivel = "municipio")
4. └─infoelectoral:::candidatos_senado(anno, mes, nivel)
5. └─infoelectoral:::senado_municipios(anno, mes)
6. └─infoelectoral:::download_bin(url, temp)
7. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
8. └─httr:::request_perform(req, hu$handle$handle)
9. ├─httr:::request_fetch(req$output, req$url, handle)
10. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-mesas.R:8:1'): (code run outside of `test_that()`) ─────────────
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
Backtrace:
▆
1. ├─mesas("congreso", x$anno, x$mes) %>% ... at test-mesas.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::mesas("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-municipios.R:8:1'): (code run outside of `test_that()`) ────────
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
Backtrace:
▆
1. ├─municipios("congreso", x$anno, x$mes) %>% ... at test-municipios.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::municipios("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-provincias.R:8:1'): (code run outside of `test_that()`) ────────
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
Backtrace:
▆
1. ├─provincias("congreso", x$anno, x$mes) %>% ... at test-provincias.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::provincias("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.2
Check: data for non-ASCII characters
Result: NOTE
Note: found 2139 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.2
Check: examples
Result: ERROR
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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(infoelectoral)
>
> test_check("infoelectoral")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MESA.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_TOTA.zip
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-all-elections-provincias.R:24:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-candidatos.R:11:1'): (code run outside of `test_that()`) ───────
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
Backtrace:
▆
1. ├─... %>% filter(codigo_provincia != "99") at test-candidatos.R:11:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::candidatos("senado", "2023", "07", nivel = "municipio")
4. └─infoelectoral:::candidatos_senado(anno, mes, nivel)
5. └─infoelectoral:::senado_municipios(anno, mes)
6. └─infoelectoral:::download_bin(url, temp)
7. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
8. └─httr:::request_perform(req, hu$handle$handle)
9. ├─httr:::request_fetch(req$output, req$url, handle)
10. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-mesas.R:8:1'): (code run outside of `test_that()`) ─────────────
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
Backtrace:
▆
1. ├─mesas("congreso", x$anno, x$mes) %>% ... at test-mesas.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::mesas("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-municipios.R:8:1'): (code run outside of `test_that()`) ────────
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
Backtrace:
▆
1. ├─municipios("congreso", x$anno, x$mes) %>% ... at test-municipios.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::municipios("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-provincias.R:8:1'): (code run outside of `test_that()`) ────────
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
Backtrace:
▆
1. ├─provincias("congreso", x$anno, x$mes) %>% ... at test-provincias.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::provincias("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR
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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(infoelectoral)
>
> test_check("infoelectoral")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/03202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MESA.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_MUNI.zip
Downloading https://infoelectoral.interior.gob.es/estaticos/docxl/apliextr/02202307_TOTA.zip
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-all-elections-provincias.R:24:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-candidatos.R:11:1'): (code run outside of `test_that()`) ───────
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)
Backtrace:
▆
1. ├─... %>% filter(codigo_provincia != "99") at test-candidatos.R:11:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::candidatos("senado", "2023", "07", nivel = "municipio")
4. └─infoelectoral:::candidatos_senado(anno, mes, nivel)
5. └─infoelectoral:::senado_municipios(anno, mes)
6. └─infoelectoral:::download_bin(url, temp)
7. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
8. └─httr:::request_perform(req, hu$handle$handle)
9. ├─httr:::request_fetch(req$output, req$url, handle)
10. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-mesas.R:8:1'): (code run outside of `test_that()`) ─────────────
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)
Backtrace:
▆
1. ├─mesas("congreso", x$anno, x$mes) %>% ... at test-mesas.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::mesas("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-municipios.R:8:1'): (code run outside of `test_that()`) ────────
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)
Backtrace:
▆
1. ├─municipios("congreso", x$anno, x$mes) %>% ... at test-municipios.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::municipios("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
── Error ('test-provincias.R:8:1'): (code run outside of `test_that()`) ────────
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)
Backtrace:
▆
1. ├─provincias("congreso", x$anno, x$mes) %>% ... at test-provincias.R:8:1
2. ├─dplyr::filter(., codigo_provincia != "99")
3. └─infoelectoral::provincias("congreso", x$anno, x$mes)
4. └─infoelectoral:::download_bin(url, temp)
5. └─httr::GET(url, add_headers(`User-Agent` = UA, Connection = "keep-alive"))
6. └─httr:::request_perform(req, hu$handle$handle)
7. ├─httr:::request_fetch(req$output, req$url, handle)
8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
9. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64