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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: scrape_wahlrecht
> ### Title: Scrape surveys from wahlrecht.de
> ### Aliases: scrape_wahlrecht scrape_by scrape_ltw
> 
> ### ** Examples
> 
> library(coalitions)
> library(dplyr)

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

> # select a polling agency from .pollster_df that should be scraped ...
> coalitions:::.pollster_df
# A tibble: 7 x 2
  pollster   address                                             
  <chr>      <chr>                                               
1 allensbach https://www.wahlrecht.de/umfragen/allensbach.htm    
2 emnid      https://www.wahlrecht.de/umfragen/emnid.htm         
3 forsa      https://www.wahlrecht.de/umfragen/forsa.htm         
4 fgw        https://www.wahlrecht.de/umfragen/politbarometer.htm
5 gms        https://www.wahlrecht.de/umfragen/gms.htm           
6 infratest  https://www.wahlrecht.de/umfragen/dimap.htm         
7 insa       https://www.wahlrecht.de/umfragen/insa.htm          
> # ... here we choose Forsa
> address <- coalitions:::.pollster_df %>% filter(pollster == "forsa") %>% pull(address)
> scrape_wahlrecht(address = address) %>% slice(1:5)
Warning:  1 failed to parse.
Warning:  3 failed to parse.
        date      start        end cdu spd greens fdp left afd others
1 2018-10-27 2018-10-22 2018-10-26  26  14     21   9   10  14      6
2 2018-10-20 2018-10-15 2018-10-19  27  14     21   9    9  15      5
3 2018-10-13 2018-10-08 2018-10-12  28  16     19   9    9  14      5
4 2018-10-06 2018-10-01 2018-10-05  28  16     18   9   10  14      5
5 2018-09-29 2018-09-24 2018-09-28  28  16     17   9   10  15      5
  respondents
1        2509
2        2502
3        2504
4        2002
5        2501
> # Niedersachsen
> scrape_ltw() %>% slice(1:5)
        pollster       date      start        end cdu  spd greens fdp left afd
1          forsa 2018-02-25 2018-02-25 2018-02-25  33 33.0   10.0   8  6.0   6
2            fgw 2017-10-12 2017-10-12 2017-10-12  33 34.5    9.0   9  5.0   7
3           insa 2017-10-09 2017-10-09 2017-10-09  32 33.0   10.0  10  5.0   7
4            fgw 2017-10-05 2017-10-05 2017-10-05  33 33.0    9.0  10  5.0   7
5 infratestdimap 2017-10-05 2017-10-05 2017-10-05  34 34.0    8.5   8  4.5   8
  others respondents
1    4.0        1004
2    2.5        1001
3    3.0        1005
4    3.0        1083
5    3.0        1002
> # Hessen
> scrape_ltw("http://www.wahlrecht.de/umfragen/landtage/hessen.htm", ind_row_remove=-c(1)) %>%
+  slice(1:5)
Error in open.connection(x, "rb") : 
  Failed to connect to www.wahlrecht.de port 80: Connection refused
Calls: %>% ... %>% -> eval -> eval -> read_html -> read_html.default
Execution halted