milanwiedemann / suddengains

An R package for identifying sudden gains in longitudinal data
https://milanwiedemann.github.io/suddengains/
Other
7 stars 0 forks source link

Add tests for identifying sg/sl and creating bysg/byperson datasets #32

Closed milanwiedemann closed 1 year ago

milanwiedemann commented 1 year ago

This tests the functions involved in identifying sudden gains/losses and creating datasets (bysg, byperson) for further analysis.

This PR also fixes some minor issues (tidyselect) found when writing the tests.

milanwiedemann commented 1 year ago

@grahamthew this now adds tests for the following funs: