Possibly related to #2
iNextPD crashes hard with the sample data when the nboot argument exceeds about 500. See first code block below.
This appears to be a cumulative issue, as re-running the iNextPD call with nboot=200 crashes on the third run.
The exact point of failure seems to be vary around 510, but is repeatable for a given starting nboot and subsequent calls. The second code block below crashes consistently when targeting 510 for nboot1=490 and nboot2=2, and 512 for nboot1=500 and nboot2=2.
The fact that the fail value is close to 512 might be relevant.
library(iNextPD)
data(bird)
nboot=600
x = iNextPD(x=bird$abun, labels=bird.lab, phy=bird.phy,
q=0, datatype="abundance", se=T, nboot=nboot)
library(iNextPD)
data(bird)
nboot1=490
nboot2=2
x = iNextPD(x=bird$abun, labels=bird.lab, phy=bird.phy,
q=0, datatype="abundance", se=T, nboot=nboot1)
for (i in 1:100) {
message (paste("cumulative target is ", nboot1 + nboot2*i))
x = iNextPD(x=bird$abun, labels=bird.lab, phy=bird.phy,
q=0, datatype="abundance", se=T, nboot=nboot2)
}
Possibly related to #2
iNextPD crashes hard with the sample data when the nboot argument exceeds about 500. See first code block below.
This appears to be a cumulative issue, as re-running the iNextPD call with nboot=200 crashes on the third run.
The exact point of failure seems to be vary around 510, but is repeatable for a given starting nboot and subsequent calls. The second code block below crashes consistently when targeting 510 for
nboot1=490andnboot2=2, and 512 fornboot1=500andnboot2=2.The fact that the fail value is close to 512 might be relevant.