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

> ### Name: area_types
> ### Title: Area types
> ### Aliases: area_types
> 
> ### ** Examples
> 
> # Returns a data frame with all levels of area and how they map to one another
> area_types()
   AreaTypeID                                      AreaTypeName
2           2                                Primary Care Trust
3           3                          Middle Super Output Area
6           6                          Government Office Region
7           7                                  General Practice
8           8                                              Ward
14         19                      Clinical Commissioning Group
15         19                      Clinical Commissioning Group
16         19                      Clinical Commissioning Group
17         19                      Clinical Commissioning Group
18         19                      Clinical Commissioning Group
19         19                      Clinical Commissioning Group
24         41                                   Ambulance Trust
28         46              Sub-region (former Local area teams)
33        101 Local authority districts and Unitary Authorities
34        101 Local authority districts and Unitary Authorities
35        101 Local authority districts and Unitary Authorities
36        101 Local authority districts and Unitary Authorities
37        101 Local authority districts and Unitary Authorities
38        101 Local authority districts and Unitary Authorities
39        101 Local authority districts and Unitary Authorities
40        101 Local authority districts and Unitary Authorities
41        102                  Counties and Unitary Authorities
42        102                  Counties and Unitary Authorities
43        102                  Counties and Unitary Authorities
44        102                  Counties and Unitary Authorities
45        102                  Counties and Unitary Authorities
46        102                  Counties and Unitary Authorities
47        102                  Counties and Unitary Authorities
48        103                PHEC 2013 only plus PHEC unchanged
49        103                PHEC 2013 only plus PHEC unchanged
50        104            PHEC 2015 new plus PHEC 2013 unchanged
51        104            PHEC 2015 new plus PHEC 2013 unchanged
57        112                        Strategic Clinical Network
63        118             Acute Trusts (incl.combined MH+Acute)
64        118             Acute Trusts (incl.combined MH+Acute)
65        119     Mental Health Trusts (incl.combined MH+Acute)
66        120      Sustainability and Transformation Footprints
68        122                    Bowel Cancer Screening Centres
71        125                                Maternity Services
72        126                              Combined authorities
   ParentAreaTypeID
2                 5
3               101
6                15
7                19
8               101
14               46
15              112
16            10008
17              110
18            10011
19              120
24               15
28               15
33                6
34              103
35              104
36              115
37            10040
38            10003
39              102
40              126
41                6
42               42
43            10039
44              103
45            10002
46              104
47              126
48               42
49               15
50               42
51               15
57               15
63               15
64              104
65               44
66               15
68               15
71               15
72               15
                                             ParentAreaTypeName
2                                    Strategic Health Authority
3             Local authority districts and Unitary Authorities
6                                                       Country
7                                  Clinical Commissioning Group
8             Local authority districts and Unitary Authorities
14                         Sub-region (former Local area teams)
15                                   Strategic Clinical Network
16                                           Deprivation decile
17             ONS statistical neighbour cluster - middle level
18                                                 CCG clusters
19                 Sustainability and Transformation Footprints
24                                                      Country
28                                                      Country
33                                     Government Office Region
34                           PHEC 2013 only plus PHEC unchanged
35                       PHEC 2015 new plus PHEC 2013 unchanged
36        ONS statistical neighbour cluster 2011 - middle level
37                                    Depriv. decile (IMD 2015)
38                                    Depriv. decile (IMD 2010)
39                             Counties and Unitary Authorities
40                                         Combined authorities
41                                     Government Office Region
42                                         2013 PHE Regions (4)
43                                    Depriv. decile (IMD 2015)
44                           PHEC 2013 only plus PHEC unchanged
45                                    Depriv. decile (IMD 2010)
46                       PHEC 2015 new plus PHEC 2013 unchanged
47                                         Combined authorities
48                                         2013 PHE Regions (4)
49                                                      Country
50                                         2013 PHE Regions (4)
51                                                      Country
57                                                      Country
63                                                      Country
64                       PHEC 2015 new plus PHEC 2013 unchanged
65 2013 Commissioning regions (4)  - coterminous w. PHE region?
66                                                      Country
68                                                      Country
71                                                      Country
72                                                      Country
> 
> # Returns a data frame of county and unitary authority mappings
> area_types("counties")
   AreaTypeID                     AreaTypeName ParentAreaTypeID
41        102 Counties and Unitary Authorities                6
42        102 Counties and Unitary Authorities               42
43        102 Counties and Unitary Authorities            10039
44        102 Counties and Unitary Authorities              103
45        102 Counties and Unitary Authorities            10002
46        102 Counties and Unitary Authorities              104
47        102 Counties and Unitary Authorities              126
                       ParentAreaTypeName
41               Government Office Region
42                   2013 PHE Regions (4)
43              Depriv. decile (IMD 2015)
44     PHEC 2013 only plus PHEC unchanged
45              Depriv. decile (IMD 2010)
46 PHEC 2015 new plus PHEC 2013 unchanged
47                   Combined authorities
> 
> # Returns a table of both counties, district and unitary authorities and their respective mappings
> areas <- c("counties","district")
> area_types(areas)
Error in open.connection(con, "rb") : Timeout was reached
Calls: area_types ... fromJSON_string -> parseJSON -> parse_con -> open -> open.connection
Execution halted