Running examples in 'mosaic-Ex.R' failed
The error most likely occurred in:

> ### Name: CIAdata
> ### Title: Return a dataset based on the CIA World Factbook
> ### Aliases: CIAdata
> 
> ### ** Examples
> 
> head(CIAdata())
            Category                  Field   Name Code                 Unit
1          Geography                   Area   area 2147                sq km
2 People and Society             Population    pop 2119               people
3 People and Society Population growth rate growth 2002                    %
4 People and Society             Birth rate  birth 2054   births/1000 people
5 People and Society             Death rate  death 2066   deaths/1000 people
6 People and Society     Net migration rate   migr 2112 migrants/1000 people
> Population <- CIAdata("pop")
Retrieving data from https://www.cia.gov/library/publications/the-world-factbook/rankorder/rawdata_2119.txt
Loading required namespace: RCurl
> nrow(Population)
[1] 237
> head(Population)
        country        pop
1         China 1379302771
2         India 1281935911
3 United States  326625791
4     Indonesia  260580739
5        Brazil  207353391
6      Pakistan  204924861
> 
> PopArea <- CIAdata(c("pop","area")) %>% mutate(density = pop / area)
Retrieving data from https://www.cia.gov/library/publications/the-world-factbook/rankorder/rawdata_2119.txt
Retrieving data from https://www.cia.gov/library/publications/the-world-factbook/rankorder/rawdata_2147.txt
> nrow(PopArea)
[1] 254
> head(PopArea)
         country      pop    area   density
1    Afghanistan 34124811  652230  52.32021
2       Akrotiri       NA     123        NA
3        Albania  3047987   28748 106.02431
4        Algeria 40969443 2381741  17.20147
5 American Samoa    51504     199 258.81407
6        Andorra    85702     468 183.12393
> PopArea %>% 
+   filter(!is.na(density)) %>%
+   arrange(density) %>% 
+   tail
                    country     pop area   density
232              Gaza Strip 1795183  360  4986.619
233               Hong Kong 7191503 1108  6490.526
234               Singapore 5888926  697  8448.961
235                  Monaco   30645    2 15322.500
236                   Macau  601969   28 21498.893
237 Holy See (Vatican City)    1000    0       Inf
> 
> 
> 
> cleanEx()

detaching 'package:bindrcpp'

Error: connections left open:
	RCurl::getURL(url, ssl.verifypeer = FALSE) (textConnection)
	RCurl::getURL(url, ssl.verifypeer = FALSE) (textConnection)
Execution halted