magnusdv / pedtools

Tools for working with pedigrees in R
GNU General Public License v3.0
23 stars 3 forks source link

`randomPed()` error #45

Closed magnusdv closed 1 year ago

magnusdv commented 1 year ago
pedtools::randomPed(n = 5, f = 2, seed = 58)
#> Error in sample.int(length(x), ...): invalid first argument

Created on 2023-04-20 with reprex v2.0.2

magnusdv commented 1 year ago

Fixed in 8f02f6b.