Errors in running code in vignettes:
when running code in 'rworldmapFAQ.Rnw'

> options(width = 70)

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> require(rworldmap)
Loading required package: rworldmap
Loading required package: sp
### Welcome to rworldmap ###
For a short introduction type : 	 vignette('rworldmap')

> library(rworldmap)

> data(countryExData)

> countryExData[5:10, 1:5]
   ISO3V10    Country                  EPI_regions
5      ARM    Armenia Middle East and North Africa
6      AUS  Australia    East Asia and the Pacific
7      AUT    Austria                       Europe
8      AZE Azerbaijan    Central and Eastern Europ
9      BDI    Burundi           Sub-Saharan Africa
10     BEL    Belgium                       Europe
             GEO_subregion Population2005
5           Eastern Europe         3016.3
6  Australia + New Zealand        20155.1
7           Western Europe         8189.4
8           Eastern Europe         8410.8
9           Eastern Africa         7547.5
10          Western Europe        10419.1

> data(countryExData)

> sPDF <- joinCountryData2Map(countryExData, , joinCode = "ISO3", 
+     nameJoinColumn = "ISO3V10")
149 codes from your data successfully matched countries in the map
0 codes from your data failed to match with a country code in the map
94 codes from the map weren't represented in your data

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> mapCountryData(sPDF, nameColumnToPlot = "BIODIVERSITY")

> mapParams <- mapCountryData(sPDF, nameColumnToPlot = "BIODIVERSITY", 
+     addLegend = FALSE)

> do.call(addMapLegend, c(mapParams, legendWidth = 0.5, 
+     legendMar = 2))

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> data(gridExData)

> mapGriddedData(gridExData)

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> mapParams <- mapHalfDegreeGridToCountries(gridExData, 
+     addLegend = FALSE)
186 codes from your data successfully matched countries in the map
0 codes from your data failed to match with a country code in the map
50 codes from the map weren't represented in your data

> do.call(addMapLegend, c(mapParams, legendWidth = 0.5, 
+     legendMar = 2))

> sternEnvHealth <- country2Region(inFile = countryExData, 
+     nameDataColumn = "ENVHEALTH", joinCode = "ISO3", nameJoinColumn = "ISO3V10", 
+      .... [TRUNCATED] 

> print(sternEnvHealth)
                meanENVHEALTHbyStern
Australasia                 78.86000
Caribbean                   82.18000
Central America             82.78750
Central Asia                77.24000
East Asia                   75.52308
Europe                      95.19762
North Africa                77.38000
North America               98.70000
South America               83.62727
South Asia                  61.96000
South+E Africa              49.06316
West Africa                 36.99474
West Asia                   82.78000

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> mapByRegion(countryExData, nameDataColumn = "CLIMATE", 
+     joinCode = "ISO3", nameJoinColumn = "ISO3V10", regionType = "Stern", 
+     FUN = "mea ..." ... [TRUNCATED] 
149 codes from your data successfully matched countries in the map
0 codes from your data failed to match with a country code in the map
94 codes from the map weren't represented in your data
You asked for 7 quantiles, only 5 could be created in quantiles classification

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> sPDF <- joinCountryData2Map(countryExData, joinCode = "ISO3", 
+     nameJoinColumn = "ISO3V10")
149 codes from your data successfully matched countries in the map
0 codes from your data failed to match with a country code in the map
94 codes from the map weren't represented in your data

> op <- palette(c("green", "yellow", "orange", "red"))

> cutVector <- quantile(sPDF@data[["BIODIVERSITY"]], 
+     na.rm = TRUE)

> sPDF@data[["BIOcategories"]] <- cut(sPDF@data[["BIODIVERSITY"]], 
+     cutVector, include.lowest = TRUE)

> levels(sPDF@data[["BIOcategories"]]) <- c("low", "med", 
+     "high", "vhigh")

> mapCountryData(sPDF, nameColumnToPlot = "BIOcategories", 
+     catMethod = "categorical", mapTitle = "Biodiversity categories", 
+     colourPalett .... [TRUNCATED] 

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> mapCountryData(sPDF, nameColumnToPlot = "BIOcategories", 
+     catMethod = "categorical", mapTitle = "Biodiversity categories", 
+     colourPalett .... [TRUNCATED] 

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> sPDF <- getMap()

> sPDF <- sPDF[which(sPDF$LDC == "LDC"), ]

> mapCountryData(sPDF, nameColumnToPlot = "continent", 
+     colourPalette = "rainbow", mapTitle = "Least Developed Countries")
using catMethod='categorical' for non numeric data in mapCountryData

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> mapBubbles(dF = getMap(), nameZSize = "POP_EST", nameZColour = "continent", 
+     colourPalette = "rainbow", oceanCol = "lightblue", landCol = "whe ..." ... [TRUNCATED] 

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> sPDF <- getMap()

> sPDF <- sPDF[which(sPDF$continent == "Africa"), ]

> mapBubbles(dF = getMap(), nameZSize = "POP_EST", nameZColour = "continent", 
+     mapTitle = "Population", addColourLegend = FALSE)

> mtext("Source: Andy South, The R Journal Vol. 3/1, June 2011", 
+     side = 1, line = -1)

> par(mai = c(0, 0, 0.2, 0), xaxs = "i", yaxs = "i")

> library(rgdal)

  When sourcing 'rworldmapFAQ.R':
Error: there is no package called 'rgdal'
Execution halted

  'rworldmap.rnw'... OK
  'rworldmapFAQ.Rnw'... failed