Closed RobertMyles closed 7 years ago
Problems in:
-[] sen_commission_list.R -[] sen_plenary.R -[] sen_senator_details.R
I cannot reproduce the problems. Maybe the server was temporarily down?
Maybe, Julio! I'll have a look again today, I was getting problems with the functions in the R files above.
Super weird...the first time you try a function, it gives an error. The second time, it's fine:
> sen_senator_commissions(id = 715)
Error in sen_senator_commissions(id = 715) :
No data match your request. Have you checked the 'id' argument?
> sen_senator_commissions(id = 715)
# A tibble: 12 x 13
senator_id senator_name senator_party_name senator_party_abbr senator_state
<chr> <chr> <chr> <chr> <chr>
1 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
2 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
3 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
4 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
5 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
6 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
7 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
8 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
9 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
10 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
11 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
12 715 Armando Monteiro Partido Trabalhista Brasileiro PTB PE
# ... with 8 more variables: senator_commissions_name <chr>, senator_commissions_abbr <chr>,
# senator_commissions_id <chr>, senator_commissions_house <chr>,
# senator_commissions_participation <chr>, senator_commissions_date_joined <dttm>,
# senator_positions_commission_desc <chr>, senator_positions_commission_date_start <dttm>
These all seem fine now, I'm going to close this and upload the latest version to CRAN.
I just got an email from CRAN, I'm guessing the Senate API must have been changed. I'll get into these ASAP, but if anyone else also wants to, be my guest 😸 .
Check Details
Version: 0.1.1 Check: examples Result: ERROR Running examples in ‘congressbr-Ex.R’ failed The error most likely occurred in:
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1 Check: data for non-ASCII characters Result: NOTE Note: found 1 marked UTF-8 string Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64
Version: 0.1.1 Check: examples Result: ERROR Running examples in ‘congressbr-Ex.R’ failed The error most likely occurred in:
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.1 Check: re-building of vignette outputs Result: WARN Error in re-building vignettes: ... Loading required package: dplyr
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.1 Check: examples Result: ERROR Running examples in 'congressbr-Ex.R' failed The error most likely occurred in:
Flavor: r-release-windows-ix86+x86_64
Version: 0.1.1 Check: re-building of vignette outputs Result: WARN Error in re-building vignettes: ... Loading required package: dplyr
Flavor: r-release-windows-ix86+x86_64
Version: 0.1.1 Check: examples Result: ERROR Running examples in 'congressbr-Ex.R' failed The error most likely occurred in:
Flavor: r-oldrel-windows-ix86+x86_64
Version: 0.1.1 Check: re-building of vignette outputs Result: WARN Error in re-building vignettes: ... Loading required package: dplyr
Flavor: r-oldrel-windows-ix86+x86_64