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

> ### Name: mcmc-utilities
> ### Title: Utility operations for 'mcmc.list' objects
> ### Aliases: mcmc-utilities colMeans.mcmc.list sweep.mcmc.list
> ###   lapply.mcmc.list
> 
> ### ** Examples
> 
> data(line, package="coda")
> summary(line) # coda

Iterations = 1:200
Thinning interval = 1 
Number of chains = 2 
Sample size per chain = 200 

1. Empirical mean and standard deviation for each variable,
   plus standard error of the mean:

        Mean     SD Naive SE Time-series SE
alpha 2.9876 0.4984  0.02492        0.02375
beta  0.7992 0.3367  0.01683        0.01597
sigma 0.9681 0.7413  0.03707        0.05653

2. Quantiles for each variable:

        2.5%    25%    50%    75% 97.5%
alpha 1.9650 2.7321 3.0188 3.2420 3.877
beta  0.1431 0.6039 0.7963 0.9925 1.470
sigma 0.4250 0.6158 0.7912 1.0752 2.560

> colMeans.mcmc.list(line) # "Method"
    alpha      beta     sigma 
2.9875644 0.7991864 0.9680519 
> ## Don't show: 
> stopifnot(isTRUE(all.equal(summary(line)$statistics[,"Mean"],colMeans.mcmc.list(line))))
> ## End(Don't show)
> data(line, package="coda")
> colMeans.mcmc.list(line)-1:3
    alpha      beta     sigma 
 1.987564 -1.200814 -2.031948 
> colMeans.mcmc.list(sweep.mcmc.list(line, 1:3))
    alpha      beta     sigma 
 1.987564 -1.200814 -2.031948 
> ## Don't show: 
> stopifnot(isTRUE(all.equal(colMeans.mcmc.list(sweep.mcmc.list(line, 1:3)), colMeans.mcmc.list(line)-1:3)))
> ## End(Don't show)
> if(getRversion()<'3.5' && .Platform$OS.type=="windows"){
+ message("Windows versions of R prior to 3.5.0 appear ",
+         "to have a bug that causes this example to fail.")
+ }else{
+ data(line, package="coda")
+ print(colMeans.mcmc.list(line)[c(2,3,1)])
+ print(colMeans.mcmc.list(lapply.mcmc.list(line, `[`,,c(2,3,1))))
+ ## Don't show: 
+ stopifnot(isTRUE(all.equal(colMeans.mcmc.list(line)[c(2,3,1)],colMeans.mcmc.list(lapply.mcmc.list(line, `[`,,c(2,3,1))))))
+ ## End(Don't show)
+ }
     beta     sigma     alpha 
0.7991864 0.9680519 2.9875644 
Error in NextMethod("[") : argument is missing, with no default
Calls: print ... as.mcmc.list -> lapply -> lapply -> FUN -> [.mcmc -> NextMethod
Execution halted