Some optional and mostly cosmetic housekeeping suggestions:
- We could move very long function
@examples sections into a separate files (e.g. for ph_with)
- The Roxygen docs are currently a mixture of old
.Rd-style code (e.g. \code{xxx} or \code{\link{xxx}}) and Markdown. We could make it Markdown throughout for consistency.
@davidgohel If you agree, please feel free to assign it to me.