The 1.0.0 release of the {comorbidity} package on CRAN substantially modifies and updates the package API.
There are a lot of improvements in terms of performance, supported algorithms, and user-facing functions; see e.g. this thread on GitHub.
Specific user-facing changes, including examples of the new API, are discussed in more detail here: https://ellessenne.github.io/comorbidity/articles/C-changes.html