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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: imagering1
> ### Title: Plot a ring chart using images to fill the ring.
> ### Aliases: imagering1
> 
> ### ** Examples
> 
> #Example 1
> library(patternplot)
> library(png)
> library(ggplot2)
> location<-gsub('\\','/',tempdir(), fixed=TRUE)
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="darkgreen", pixel=8, res=8)
> FarWest<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="darkcyan", pixel=8, res=8)
> GreatLakes<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="chocolate", pixel=8, res=8)
> Mideast<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="cadetblue1", pixel=8, res=8)
> NewEngland<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="darkorchid", pixel=8, res=8)
> Plains<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="yellowgreen", pixel=8, res=8)
> RockyMountain<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="hotpink", pixel=8, res=8)
> Southeast<-readPNG(paste(location,'/',"blank",".png", sep=''))
> pattern(type="blank", density=1, color='white', pattern.line.size=1, 
+ background.color="lightslateblue", pixel=8, res=8)
> Southwest <-readPNG(paste(location,'/',"blank",".png", sep=''))
> 
> 
> group1<-c('New_England','Great_Lakes','Plains','Rocky_Mountain', 'Far_West',
+ 'Southwest', 'Southeast', 'Mideast')
> pct1<-c( 12, 11, 17, 15, 8, 11,  16,  10)
> label1<-paste(group1, " \n ", pct1, "%", sep="")
> 
> pattern.type1<-list(NewEngland, GreatLakes,Plains,  RockyMountain, FarWest,
+ Southwest, Southeast,  Mideast)
> pattern.type.inner<-readPNG(system.file("img", "USmap.png", package="patternplot"))
> 
> g<-imagering1(group1, pct1,  pattern.type1, pattern.type.inner, frame.color='black',
+ frame.size=1.2, r1=3, r2=4,label1, label.size1=4,label.color1='black', label.distance1=1.2)

 *** caught segfault ***

 *** caught segfault ***
address 0x20d5fe1f0, cause 'memory not mapped'

 *** caught segfault ***
address 0x20d5fe1f0, cause 'memory not mapped'

Traceback:
 1: imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2,     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))
 2: imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black",     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     label.color1 = "black", label.distance1 = 1.2)
Traceback:
 1: imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2,     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))
 2: imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black",     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     label.color1 = "black", label.distance1 = 1.2)
An irrecoverable exception occurred. R is aborting now ...

 *** caught segfault ***
address 0x20d5fe1f0, cause 'memory not mapped'

Traceback:
 1: imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2,     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))
 2: imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black",     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     label.color1 = "black", label.distance1 = 1.2)
An irrecoverable exception occurred. R is aborting now ...

An irrecoverable exception occurred. R is aborting now ...
address 0x20d5fe1f0, cause 'memory not mapped'

Traceback:
 1: imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2,     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))
 2: imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black",     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     label.color1 = "black", label.distance1 = 1.2)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault