wadpac / GGIR

Code corresponding to R package GGIR
https://wadpac.github.io/GGIR/
Apache License 2.0
99 stars 62 forks source link

Incorrect merge of night level sleep aggregates into part 5 results #1086

Closed vincentvanhees closed 8 months ago

vincentvanhees commented 8 months ago

Following discussion in https://groups.google.com/g/rpackageggir/c/FlkgEoA1AHU It seems there is a bug in how night level sleep aggregates are merged in part 5 results.

It seems this was introduced when I split of the code g.partt5_analyseSegment.R from g.part5, where add_one_day_to_next_date was not exported.

I am now fixing this.