Hello,
My package has recently been posted to CRAN, however, there is an
additional issue of noLD on tests on x86_64 Linux with R-devel.
I haven't yet received an email from CRAN maintainers on resolving the
issue.
However, I would like to submit an updated package version with improved
documentation and thought that I could fix this error as well.
Any ideas on how to solve the below problem?
I suspect it has something to do with numerical precision of estimates.
-----
* checking examples ... ERROR
Running examples in ?HACSim-Ex.R? failed
The error most likely occurred in:
### Name: HAC.simrep
### Title: Run a simulation of haplotype accumulation curves for
### hypothetical or real species
### Aliases: HAC.simrep
### ** Examples
## Simulate hypothetical species ##
N <- 100 # total number of sampled individuals
Hstar <- 10 # total number of haplotypes
probs <- rep(1/Hstar, Hstar) # equal haplotype frequency distribution
HACSObj <- HACHypothetical(N = N, Hstar = Hstar , probs = probs,
+ filename = "output") # outputs a CSV file called "output.csv"
## Simulate hypothetical species - subsampling ##
HACSObj <- HACHypothetical(N = N, Hstar = Hstar, probs = probs,