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

> ### Name: VBLPCM-package
> ### Title: VBLPCM: Variational Bayes for the Latent Position Cluster Model
> ###   for networks
> ### Aliases: VBLPCM-package VBLPCM
> ### Keywords: graphs networks variational package models latentnet
> 
> ### ** Examples
> 
> ### Sampson's monks with sender random effects ###
> data(sampson,package="VBLPCM")
> v.start<-vblpcmstart(samplike,G=3,model="rreceiver",LSTEPS=1e3)
Node 1, Reach 18, Total 18
Node 2, Reach 18, Total 36
Node 3, Reach 18, Total 54
Node 4, Reach 18, Total 72
Node 5, Reach 18, Total 90
Node 6, Reach 18, Total 108
Node 7, Reach 18, Total 126
Node 8, Reach 18, Total 144
Node 9, Reach 18, Total 162
Node 10, Reach 18, Total 180
Node 11, Reach 18, Total 198
Node 12, Reach 18, Total 216
Node 13, Reach 18, Total 234
Node 14, Reach 18, Total 252
Node 15, Reach 18, Total 270
Node 16, Reach 18, Total 288
Node 17, Reach 18, Total 306
Node 18, Reach 18, Total 324
> v.fit<-vblpcmfit(v.start,STEPS=20)
1 / 20 iterations
2 / 20 iterations
3 / 20 iterations
4 / 20 iterations
5 / 20 iterations
6 / 20 iterations
7 / 20 iterations
8 / 20 iterations
9 / 20 iterations
10 / 20 iterations
11 / 20 iterations
12 / 20 iterations
13 / 20 iterations
14 / 20 iterations
15 / 20 iterations
16 / 20 iterations
17 / 20 iterations
18 / 20 iterations
19 / 20 iterations
20 / 20 iterations
KL distance to true posterior is  -453.9989 + constant 
> ### plot the mean posterior positions ###
> plot(v.fit, R2=0.05,main="Sampson's Monks: VB with Receiver Random Effects")
> ### Who's in each group?  ###
> vblpcmgroups(v.fit)
The 3 Groups are:

***************** black **********************
Romul_10 
Bonaven_5 
Ambrose_9 
Berth_6 
Peter_4 
Louis_11 
Victor_8 

***************** red **********************
Winf_12 
John_1 
Greg_2 
Hugh_14 
Boni_15 
Mark_7 
Albert_16 

***************** green3 **********************
Amand_13 
Basil_3 
Elias_17 
Simp_18 
> 
> ### Look at a goodness-of-fit plot ###
> plot(gof(v.fit,GOF=~distance))
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' is a list, but does not have components 'x' and 'y'
Calls: plot -> plot.default -> xy.coords
Execution halted