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

> ### Name: get_xSub
> ### Title: Get xSub file
> ### Aliases: get_xSub
> 
> ### ** Examples
> 
> # Check which countries are available for ACLED
> info_xSub(data_source="ACLED")
   data_source country_iso3                     country_name
2        ACLED          AFG                      Afghanistan
3        ACLED          AGO                           Angola
4        ACLED          ARE             United Arab Emirates
5        ACLED          BDI                          Burundi
6        ACLED          BEN                            Benin
7        ACLED          BFA                     Burkina Faso
8        ACLED          BGD                       Bangladesh
9        ACLED          BHR                          Bahrain
10       ACLED          BWA                         Botswana
11       ACLED          CAF         Central African Republic
12       ACLED          CIV                    Côte D'Ivoire
13       ACLED          CMR                         Cameroon
14       ACLED          COD Democratic Republic of the Congo
15       ACLED          COG                            Congo
16       ACLED          DJI                         Djibouti
17       ACLED          DZA                          Algeria
18       ACLED          EGY                            Egypt
19       ACLED          ERI                          Eritrea
20       ACLED          ETH                         Ethiopia
21       ACLED          GAB                            Gabon
22       ACLED          GHA                            Ghana
23       ACLED          GIN                           Guinea
24       ACLED          GMB                           Gambia
25       ACLED          GNB                    Guinea Bissau
26       ACLED          GNQ                Equatorial Guinea
27       ACLED          IDN                        Indonesia
28       ACLED          IND                            India
29       ACLED          IRN                             Iran
30       ACLED          IRQ                             Iraq
31       ACLED          ISR                           Israel
32       ACLED          JOR                           Jordan
33       ACLED          KEN                            Kenya
34       ACLED          KHM                         Cambodia
35       ACLED          KWT                           Kuwait
36       ACLED          LAO                             Laos
37       ACLED          LBN                          Lebanon
38       ACLED          LBR                          Liberia
39       ACLED          LBY                            Libya
40       ACLED          LKA                        Sri Lanka
41       ACLED          LSO                          Lesotho
42       ACLED          MAR                          Morocco
43       ACLED          MDG                       Madagascar
44       ACLED          MLI                             Mali
45       ACLED          MOZ                       Mozambique
46       ACLED          MRT                       Mauritania
47       ACLED          MWI                           Malawi
48       ACLED          NAM                          Namibia
49       ACLED          NER                            Niger
50       ACLED          NGA                          Nigeria
51       ACLED          NPL                            Nepal
52       ACLED          OMN                             Oman
53       ACLED          PAK                         Pakistan
54       ACLED          PSE                        Palestine
55       ACLED          QAT                            Qatar
56       ACLED          RWA                           Rwanda
57       ACLED          SAU                     Saudi Arabia
58       ACLED          SDN                            Sudan
59       ACLED          SEN                          Senegal
60       ACLED          SLE                     Sierra Leone
61       ACLED          SOM                          Somalia
62       ACLED          SSD                      South Sudan
63       ACLED          SWZ                        Swaziland
64       ACLED          SYR             Syrian Arab Republic
65       ACLED          TCD                             Chad
66       ACLED          TGO                             Togo
67       ACLED          TUN                          Tunisia
68       ACLED          TUR                           Turkey
69       ACLED          TZA                         Tanzania
70       ACLED          UGA                           Uganda
71       ACLED          VNM                         Viet Nam
72       ACLED          YEM                            Yemen
73       ACLED          ZAF                     South Africa
74       ACLED          ZMB                           Zambia
75       ACLED          ZWE                         Zimbabwe
                        space_units              time_units
2        adm0, adm1, adm2, priogrid day*, month, week, year
3        adm0, adm1, adm2, priogrid day*, month, week, year
4              adm0, adm1, priogrid day*, month, week, year
5        adm0, adm1, adm2, priogrid day*, month, week, year
6        adm0, adm1, adm2, priogrid day*, month, week, year
7        adm0, adm1, adm2, priogrid day*, month, week, year
8  adm0, adm1, adm2, clea, priogrid day*, month, week, year
9              adm0, adm1, priogrid day*, month, week, year
10       adm0, adm1, adm2, priogrid day*, month, week, year
11       adm0, adm1, adm2, priogrid day*, month, week, year
12       adm0, adm1, adm2, priogrid day*, month, week, year
13 adm0, adm1, adm2, clea, priogrid day*, month, week, year
14       adm0, adm1, adm2, priogrid day*, month, week, year
15       adm0, adm1, adm2, priogrid day*, month, week, year
16       adm0, adm1, adm2, priogrid day*, month, week, year
17       adm0, adm1, adm2, priogrid day*, month, week, year
18       adm0, adm1, adm2, priogrid day*, month, week, year
19       adm0, adm1, adm2, priogrid day*, month, week, year
20       adm0, adm1, adm2, priogrid day*, month, week, year
21       adm0, adm1, adm2, priogrid day*, month, week, year
22       adm0, adm1, adm2, priogrid day*, month, week, year
23       adm0, adm1, adm2, priogrid day*, month, week, year
24       adm0, adm1, adm2, priogrid day*, month, week, year
25       adm0, adm1, adm2, priogrid day*, month, week, year
26       adm0, adm1, adm2, priogrid day*, month, week, year
27 adm0, adm1, adm2, clea, priogrid day*, month, week, year
28 adm0, adm1, adm2, clea, priogrid day*, month, week, year
29       adm0, adm1, adm2, priogrid day*, month, week, year
30       adm0, adm1, adm2, priogrid day*, month, week, year
31       adm0, adm1, clea, priogrid day*, month, week, year
32       adm0, adm1, adm2, priogrid day*, month, week, year
33       adm0, adm1, adm2, priogrid day*, month, week, year
34       adm0, adm1, adm2, priogrid day*, month, week, year
35             adm0, adm1, priogrid day*, month, week, year
36       adm0, adm1, adm2, priogrid day*, month, week, year
37       adm0, adm1, adm2, priogrid day*, month, week, year
38       adm0, adm1, adm2, priogrid day*, month, week, year
39             adm0, adm1, priogrid day*, month, week, year
40 adm0, adm1, adm2, clea, priogrid day*, month, week, year
41             adm0, adm1, priogrid day*, month, week, year
42       adm0, adm1, adm2, priogrid day*, month, week, year
43       adm0, adm1, adm2, priogrid day*, month, week, year
44       adm0, adm1, adm2, priogrid day*, month, week, year
45       adm0, adm1, adm2, priogrid day*, month, week, year
46       adm0, adm1, adm2, priogrid day*, month, week, year
47       adm0, adm1, adm2, priogrid day*, month, week, year
48       adm0, adm1, adm2, priogrid day*, month, week, year
49       adm0, adm1, adm2, priogrid day*, month, week, year
50       adm0, adm1, adm2, priogrid day*, month, week, year
51       adm0, adm1, adm2, priogrid day*, month, week, year
52       adm0, adm1, adm2, priogrid day*, month, week, year
53       adm0, adm1, adm2, priogrid day*, month, week, year
54       adm0, adm1, adm2, priogrid day*, month, week, year
55             adm0, adm1, priogrid day*, month, week, year
56       adm0, adm1, adm2, priogrid day*, month, week, year
57             adm0, adm1, priogrid day*, month, week, year
58       adm0, adm1, adm2, priogrid day*, month, week, year
59       adm0, adm1, adm2, priogrid day*, month, week, year
60       adm0, adm1, adm2, priogrid day*, month, week, year
61       adm0, adm1, adm2, priogrid day*, month, week, year
62       adm0, adm1, adm2, priogrid day*, month, week, year
63       adm0, adm1, adm2, priogrid day*, month, week, year
64       adm0, adm1, adm2, priogrid day*, month, week, year
65       adm0, adm1, adm2, priogrid day*, month, week, year
66       adm0, adm1, adm2, priogrid day*, month, week, year
67       adm0, adm1, adm2, priogrid day*, month, week, year
68       adm0, adm1, adm2, priogrid day*, month, week, year
69       adm0, adm1, adm2, priogrid day*, month, week, year
70       adm0, adm1, adm2, priogrid day*, month, week, year
71       adm0, adm1, adm2, priogrid day*, month, week, year
72       adm0, adm1, adm2, priogrid day*, month, week, year
73 adm0, adm1, adm2, clea, priogrid day*, month, week, year
74 adm0, adm1, adm2, clea, priogrid day*, month, week, year
75       adm0, adm1, adm2, priogrid day*, month, week, year
[1] "* daily-level data available only for adm0, adm1"
[1] "For more info, subset by country"
> 
> # Download ACLED data for Egypt, at country-year level
> my_file <- get_xSub(data_source = "ACLED",country_iso3 = "EGY",
+            space_unit = "adm0",time_unit = "year")
Warning in download.file(file_url, temp, cacheOK = TRUE, quiet = (!verbose)) :
  URL 'http://cross-sub.org/api/data/xSub_ACLED_EGY_adm0_year.zip': status was 'Couldn't connect to server'
Error in download.file(file_url, temp, cacheOK = TRUE, quiet = (!verbose)) : 
  cannot open URL 'http://cross-sub.org/api/data/xSub_ACLED_EGY_adm0_year.zip'
Calls: get_xSub -> download.file
Execution halted