Running examples in 'dartR-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gl.report.hwe
> ### Title: Reports departure from Hardy-Weinberg Equilibrium
> ### Aliases: gl.report.hwe
> 
> ### ** Examples
> 
> list <- gl.report.hwe(testset.gl,subset=c("EmmacMaclGeor", "EmmacCoopCully"),plot=TRUE,bonf=FALSE)
Starting gl.report.hwe 
  Processing a SNP dataset
  Pooling populations EmmacMaclGeor EmmacCoopCully for HWE calculations
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Error in matrix(c(1, 1), 1, 1, byrow = FALSE) : 
  data length differs from size of matrix: [2 != 1 x 1]
Calls: gl.report.hwe -> <Anonymous> -> matrix
Execution halted
Running examples in ‘dartR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gl.report.hwe
> ### Title: Reports departure from Hardy-Weinberg Equilibrium
> ### Aliases: gl.report.hwe
> 
> ### ** Examples
> 
> list <- gl.report.hwe(testset.gl,subset=c("EmmacMaclGeor", "EmmacCoopCully"),plot=TRUE,bonf=FALSE)
Starting gl.report.hwe 
  Processing a SNP dataset
  Pooling populations EmmacMaclGeor EmmacCoopCully for HWE calculations
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Error in matrix(c(1, 1), 1, 1, byrow = FALSE) : 
  data length differs from size of matrix: [2 != 1 x 1]
Calls: gl.report.hwe -> <Anonymous> -> matrix
Execution halted
Running examples in ‘dartR-Ex.R’ failed
The error most likely occurred in:

> ### Name: gl.report.hwe
> ### Title: Reports departure from Hardy-Weinberg Equilibrium
> ### Aliases: gl.report.hwe
> 
> ### ** Examples
> 
> list <- gl.report.hwe(testset.gl,subset=c("EmmacMaclGeor", "EmmacCoopCully"),plot=TRUE,bonf=FALSE)
Starting gl.report.hwe 
  Processing a SNP dataset
  Pooling populations EmmacMaclGeor EmmacCoopCully for HWE calculations
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Error in matrix(c(1, 1), 1, 1, byrow = FALSE) : 
  data length differs from size of matrix: [2 != 1 x 1]
Calls: gl.report.hwe -> <Anonymous> -> matrix
Execution halted
Running examples in ‘dartR-Ex.R’ failed
The error most likely occurred in:

> ### Name: gl.report.hwe
> ### Title: Reports departure from Hardy-Weinberg Equilibrium
> ### Aliases: gl.report.hwe
> 
> ### ** Examples
> 
> list <- gl.report.hwe(testset.gl,subset=c("EmmacMaclGeor", "EmmacCoopCully"),plot=TRUE,bonf=FALSE)
Starting gl.report.hwe 
  Processing a SNP dataset
  Pooling populations EmmacMaclGeor EmmacCoopCully for HWE calculations
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Warning in HWChisq(Xr[i, ], cc = 0.5, verbose = FALSE) :
  Expected counts below 5: chi-square approximation may be incorrect
Error in matrix(c(1, 1), 1, 1, byrow = FALSE) : 
  data length differs from size of matrix: [2 != 1 x 1]
Calls: gl.report.hwe -> <Anonymous> -> matrix
Execution halted