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

> ### Name: Null.Hp.RInSp
> ### Title: Generate a data set based on a specific null hypothesis
> ### Aliases: Null.Hp.RInSp
> ### Keywords: univar models
> 
> ### ** Examples
> 
> # Example with stickleback data from Bolnick and Paull 2009
> data(Stickleback)
> # Null model using a specified data set
> SiteA = import.RInSp(Stickleback, row.names = 1,
+ info.cols = c(2:13), subset.rows = c("Site", "A"))

 Warning! 

 The total number of resources was 39 but 19 resources were dropped 
because not present in the selected sample 
> Eresult = Eindex(SiteA, index = "saramaki", jackknife = FALSE)

 Please wait, we are computing E and Cws. 

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |+++++++                                                               |  10%
  |                                                                            
  |++++++++++++++                                                        |  20%
  |                                                                            
  |+++++++++++++++++++++                                                 |  30%
  |                                                                            
  |++++++++++++++++++++++++++++                                          |  40%
  |                                                                            
  |+++++++++++++++++++++++++++++++++++                                   |  50%
  |                                                                            
  |++++++++++++++++++++++++++++++++++++++++++                            |  60%
  |                                                                            
  |+++++++++++++++++++++++++++++++++++++++++++++++++                     |  70%
  |                                                                            
  |++++++++++++++++++++++++++++++++++++++++++++++++++++++++              |  80%
  |                                                                            
  |+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++       |  90%
  |                                                                            
  |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++| 100%
Error in if ((CW + Oaverage) != 0) CwS = (CW - Oaverage)/(CW + Oaverage) : 
  missing value where TRUE/FALSE needed
Calls: Eindex
Execution halted