mctq 0.1.0 (2021-11-03)

Minor improvements and fixes

mctq 0.0.0.9002

mctq 0.0.0.9001

Breaking changes

New features

Minor improvements and fixes

Note about removing convert()

convert() was created considering the user experience (sleep and chronobiology scientists). Since most of them don’t have much experience with R and that time can have different types of representations (e.g., decimal hours, radian), convert() aim was to help transpose those difficulties, posing as an “universal translator” (🖖).

However, after much thought and consideration, we believe that the convert() feature may be out of the mctq scope. It can maybe be part of another package (a lubritime package perhaps? 😄). Other mctq tools, like shorter_interval() and sum_time(), could also be a part of that package (but are necessary in mctq for the time being). Hence, we decided to remove convert() and to instruct the user to check the lubridate and hms packages for parsing/conversion.

Note about renaming sd() and ms()

That was a tough, but necessary, call. Although we tried to preserve the original author’s naming pattern for the MCTQ functions, the name sd provokes a dangerous name collision with the widely used stats::sd function (standard deviation) and the name ms provokes a name collision with lubridate::ms() function (a function for parsing minutes and seconds components). That’s why we decided to renamed them. sdu() and msl() are the only exceptions, all the other mctq functions maintain a strong naming resemblance with the original author’s naming pattern.

mctq 0.0.0.9000