Closed genignored closed 3 years ago
If pdf is specified, but wrong object type is given to plot_pedigree, failure comes after pdf() is called, so you end up with multiple pdf() writes open, which makes actually writing pdf fail until dev.off() on all open handles.
Not sure how to address the issue, however.
Oh, easy fix. Just check the class of the thing being fed.
If pdf is specified, but wrong object type is given to plot_pedigree, failure comes after pdf() is called, so you end up with multiple pdf() writes open, which makes actually writing pdf fail until dev.off() on all open handles.
Not sure how to address the issue, however.