plot_ibd1 fails, apparently because there are no ibd segments
library(ibdsim2, quietly = TRUE)
x = halfCousinPed(10)
s = ibdsim(x, sims = 1, verbose = FALSE)
plot_ibd1(s)
#> Error in seq.default(xmin, max.x, length = 10): 'from' must be a finite number
plot_ibd1 fails, apparently because there are no ibd segments
Created on 2018-10-09 by the reprex package (v0.2.1)