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

> ### 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 ***

 *** caught segfault ***

 *** caught segfault ***

 *** caught segfault ***

 *** caught segfault ***

 *** caught segfault ***

 *** caught segfault ***
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, cause 'memory not mapped'
address 0x7fee64034a20, 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 ...

Traceback:

Traceback:
 1:  1: 
Traceback:
imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2, imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2, 
Traceback:

Traceback:

Traceback:

Traceback:
 1:     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),  1:  1:  1:  1: imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2,     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))    bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2, imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2, imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2, imagetodf3(pattern.type1[[i]], as.matrix(piedata1[[i]]), r2,     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x), 

    r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     r1, left = min(piedata1[[i]]$x), right = max(piedata1[[i]]$x),     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y)) 2:  2:     bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))    bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))    bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))    bottom = min(piedata1[[i]]$y), top = max(piedata1[[i]]$y))
imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black", imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black", 



 2:     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     frame.size = 4, r1 = 3, r2 = 4, label1, label.size1 = 4,  2:  2:  2:  2: imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black",     label.color1 = "black", label.distance1 = 1.2)    label.color1 = "black", label.distance1 = 1.2)imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black", imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black", imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black", imagering1(group1, pct1, pattern.type1, pattern.type.inner, frame.color = "black",     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4, 

    frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     frame.size = 1.2, r1 = 3, r2 = 4, label1, label.size1 = 4,     label.color1 = "black", label.distance1 = 4)An irrecoverable exception occurred. R is aborting now ...
An irrecoverable exception occurred. R is aborting now ...
    label.color1 = "black", label.distance1 = 1.2)    label.color1 = "black", label.distance1 = 1.2)    label.color1 = "black", label.distance1 = 1.2)    label.color1 = "black", label.distance1 = 1.2)




An irrecoverable exception occurred. R is aborting now ...
An irrecoverable exception occurred. R is aborting now ...
An irrecoverable exception occurred. R is aborting now ...
An irrecoverable exception occurred. R is aborting now ...
An irrecoverable exception occurred. R is aborting now ...