epiverse-trace / epichains

[Under active development] Methods for simulating and analysing the sizes and lengths of infectious disease transmission chains from branching process models
https://epiverse-trace.github.io/epichains/
Other
5 stars 2 forks source link

Use next `print()` method when `<epichains>` is invalidated #278

Open jamesmbaazam opened 2 weeks ago

jamesmbaazam commented 2 weeks ago

Sometimes, users may convert an <epichains> object to <data.frame> for example, and perform some operations on it, for example, remove columns. If a protected column is removed, the print method breaks. In this case, we need to use the next print() method. This issue is a result of #277.