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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ECMrest
> ### Title: The ECMrest empirical codon substitution model
> ### Aliases: ECMrest
> 
> ### ** Examples
> 
> 	# create substitution model object
> 	p<-ECMrest()
> 	# get object summary
> 	summary(p)

Name: Anonymous
Id: ECMrest:Anonymous:94405424275816
Alphabet: 
  Type: Standard
  Symbols: TTT TTC TTA TTG TCT TCC TCA TCG TAT TAC TGT TGC TGG CTT CTC CTA CTG CCT CCC CCA CCG CAT CAC CAA CAG CGT CGC CGA CGG ATT ATC ATA ATG ACT ACC ACA ACG AAT AAC AAA AAG AGT AGC AGA AGG GTT GTC GTA GTG GCT GCC GCA GCG GAT GAC GAA GAG GGT GGC GGA GGG
PAML data file:: ./PAMLdat/ECMrest.dat
Unscaled rate matrix: not shown
Equilibrium distribution: 
	             TTT        TTC        TTA        TTG        TCT        TCC
	Prob: 0.02210309 0.02138309 0.01638707 0.01542506 0.01188005 0.01113104
	              TCA         TCG        TAT        TAC         TGT         TGC
	Prob: 0.009750039 0.008956036 0.01596506 0.01578206 0.006025024 0.007029028
	             TGG        CTT        CTC        CTA        CTG        CCT
	Prob: 0.01188005 0.01446706 0.01738607 0.00760003 0.02883912 0.01000704
	             CCC        CCA        CCG        CAT        CAC        CAA
	Prob: 0.01010004 0.01064204 0.01184305 0.01109704 0.01170305 0.01607606
	             CAG         CGT        CGC         CGA         CGG       ATT
	Prob: 0.02021108 0.008311033 0.01414806 0.004800019 0.007837031 0.0255761
	             ATC        ATA        ATG        ACT        ACC        ACA
	Prob: 0.02344109 0.01355105 0.02010208 0.01342405 0.02020108 0.01552806
	             ACG        AAT        AAC        AAA        AAG        AGT
	Prob: 0.01214205 0.02300609 0.02017108 0.03000112 0.02634411 0.01014204
	             AGC        AGA         AGG        GTT        GTC        GTA
	Prob: 0.01167905 0.01037204 0.008195033 0.01904708 0.01893808 0.01090104
	             GTG        GCT        GCC        GCA        GCG        GAT
	Prob: 0.02274709 0.01900508 0.02830711 0.01590806 0.01885308 0.02819811
	            GAC        GAA        GAG        GGT        GGC        GGA
	Prob: 0.0245321 0.03322313 0.03187813 0.01685207 0.02298209 0.01579606
	             GGG
	Prob: 0.01019104

Site specific parameters (1): 
  Id: rate.multiplier
  Name: Rate multiplier
  Type: numeric
  Default value: 1

> 	# display a bubble plot
> 	plot(p)
Error in grid.Call.graphics(C_setviewport, vp, TRUE) : 
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
Calls: plot ... push.vp.vpTree -> push.vp -> push.vp.viewport -> grid.Call.graphics
Execution halted