Last updated on 2019-01-19 00:46:40 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.6 | 1.80 | 20.00 | 21.80 | OK | --no-examples --no-tests --no-vignettes |
r-devel-linux-x86_64-debian-gcc | 0.4.6 | 1.21 | 16.02 | 17.23 | OK | --no-examples --no-tests --no-vignettes |
r-devel-linux-x86_64-fedora-clang | 0.4.6 | 25.27 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.6 | 23.70 | OK | |||
r-devel-windows-ix86+x86_64 | 0.4.6 | 5.00 | 713.00 | 718.00 | ERROR | |
r-patched-linux-x86_64 | 0.4.6 | 1.55 | 18.17 | 19.72 | OK | --no-examples --no-tests --no-vignettes |
r-patched-solaris-x86 | 0.4.6 | 48.60 | ERROR | |||
r-release-linux-x86_64 | 0.4.6 | 1.54 | 18.35 | 19.89 | OK | --no-examples --no-tests --no-vignettes |
r-release-windows-ix86+x86_64 | 0.4.6 | 5.00 | 366.00 | 371.00 | ERROR | |
r-release-osx-x86_64 | 0.4.6 | WARN | ||||
r-oldrel-windows-ix86+x86_64 | 0.4.6 | 4.00 | 502.00 | 506.00 | OK | |
r-oldrel-osx-x86_64 | 0.4.6 | WARN |
Version: 0.4.6
Check: tests
Result: ERROR
Running 'testthat.R' [460s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rcongresso)
>
> test_check("rcongresso")
-- 1. Error: Quantidade de itens por requisição (@test_proposicoes.R#81) ------
Falha na requisicao a API dos Dados Abertos. Erro 504 ao tentar acessar: https://dadosabertos.camara.leg.br/api/v2/proposicoes?dataInicio=2007-01-01&dataFim=2017-01-01&itens=10&pagina=1
1: expect_equal(dim(fetch_proposicao(dataInicio = "2007-01-01", dataFim = "2017-01-01",
itens = 10)), TAM_DF_10REQ) at testthat/test_proposicoes.R:81
2: quasi_label(enquo(object), label)
3: eval_bare(get_expr(quo), get_env(quo))
4: fetch_proposicao(dataInicio = "2007-01-01", dataFim = "2017-01-01", itens = 10)
5: .fetch_using_queries(parametros, .PROPOSICOES_PATH) %>% .assert_dataframe_completo(.COLNAMES_PROPOSICAO) %>%
.coerce_types(.COLNAMES_PROPOSICAO)
6: eval(lhs, parent, parent)
7: eval(lhs, parent, parent)
8: .fetch_using_queries(parametros, .PROPOSICOES_PATH)
9: .fetch_itens(.verifica_parametros_entrada(parametros), API_path)
10: query %>% tibble::as.tibble() %>% dplyr::rowwise() %>% dplyr::do(.congresso_api(API_path,
.))
...
25: .use_backoff_exponencial(path, query, timeout, tentativa + 1)
26: .get_from_api(path, query, final_timeout, tentativa)
27: .use_backoff_exponencial(path, query, timeout, tentativa + 1)
28: .get_from_api(path, query, final_timeout, tentativa)
29: .use_backoff_exponencial(path, query, timeout, tentativa + 1)
30: .get_from_api(path, query, final_timeout, tentativa)
31: .use_backoff_exponencial(path, query, timeout, tentativa + 1)
32: .get_from_api(path, query, final_timeout, tentativa)
33: .MENSAGEM_ERRO_REQ(httr::status_code(resp), api_url)
34: stop(sprintf("Falha na requisicao a API dos Dados Abertos. Erro %s ao tentar acessar: %s",
error_code, api_url), call. = FALSE)
== testthat results ===========================================================
OK: 71 SKIPPED: 0 FAILED: 1
1. Error: Quantidade de itens por requisição (@test_proposicoes.R#81)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.4.6
Check: examples
Result: ERROR
Running examples in ‘rcongresso-Ex.R’ failed
The error most likely occurred in:
> ### Name: fetch_deputado
> ### Title: Retrieves details about a deputy
> ### Aliases: fetch_deputado
>
> ### ** Examples
>
> abel_mesquita_info <- fetch_deputado(id = 178957)
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: Connection timed out after 10000 milliseconds
Calls: fetch_deputado ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.4.6
Check: re-building of vignette outputs
Result: WARN
Error in re-building vignettes:
...
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Quitting from lines 62-65 (introducao-rcongresso.Rmd)
Error: processing vignette 'introducao-rcongresso.Rmd' failed with diagnostics:
there is no package called 'webshot'
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.4.6
Check: tests
Result: ERROR
Running 'testthat.R' [175s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rcongresso)
>
> test_check("rcongresso")
-- 1. Error: Quantidade de itens por requisição (@test_proposicoes.R#81) ------
API did not return json
1: expect_equal(dim(fetch_proposicao(dataInicio = "2007-01-01", dataFim = "2017-01-01",
itens = 10)), TAM_DF_10REQ) at testthat/test_proposicoes.R:81
2: quasi_label(enquo(object), label)
3: eval_bare(get_expr(quo), get_env(quo))
4: fetch_proposicao(dataInicio = "2007-01-01", dataFim = "2017-01-01", itens = 10)
5: .fetch_using_queries(parametros, .PROPOSICOES_PATH) %>% .assert_dataframe_completo(.COLNAMES_PROPOSICAO) %>%
.coerce_types(.COLNAMES_PROPOSICAO)
6: eval(lhs, parent, parent)
7: eval(lhs, parent, parent)
8: .fetch_using_queries(parametros, .PROPOSICOES_PATH)
9: .fetch_itens(.verifica_parametros_entrada(parametros), API_path)
10: query %>% tibble::as.tibble() %>% dplyr::rowwise() %>% dplyr::do(.congresso_api(API_path,
.))
...
14: `_fseq`(`_lhs`)
15: freduce(value, `_function_list`)
16: withVisible(function_list[[k]](value))
17: function_list[[k]](value)
18: dplyr::do(., .congresso_api(API_path, .))
19: do.rowwise_df(., .congresso_api(API_path, .))
20: eval_tidy(args[[j]], mask)
21: .congresso_api(API_path, .)
22: .get_from_api(path, query)
23: stop(.ERRO_RETORNO_JSON, call. = FALSE)
== testthat results ===========================================================
OK: 71 SKIPPED: 0 FAILED: 1
1. Error: Quantidade de itens por requisição (@test_proposicoes.R#81)
Error: testthat unit tests failed
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.4.6
Check: re-building of vignette outputs
Result: WARN
Error in re-building vignettes:
...
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Quitting from lines 62-65 (introducao-rcongresso.Rmd)
Error: processing vignette 'introducao-rcongresso.Rmd' failed with diagnostics:
cannot open the connection
Execution halted
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64