Please explain the context and purpose of your contribution and list the changes you made to the code base or documentation.
- I understand and agree to the code of conduct.
- I have listed any substantial changes in the development news.
I have added
testthatunit tests to
tests/testthatfor any new functionality.
- This pull request is not a draft.