Changelog
Source:NEWS.md
ABCDscores 6.1.0
Date: 2025-11-30
Bug fixes
- Fixed an error in the following utility functions:
ss_sum,ss_mean,ss_max,ss_count_cond,ss_mean_pos. Fix: If input columns are factors, coerce them to numeric (factor -> character -> numeric) prior to computing the summary statistic. Previously, the coercion was inaccurate (factor -> numeric), converting the levels to numbers and not the displayed labels. For example, non-responses such as 777 (displayed label) could be level 6 for a factor / ordinal column. NOTE: This bug did not affect computed summary scores in 6.0. - Fixed a bug in the
compute_ph_y_mctq__fd__sleep__mid24h and 36h where incorrectly usedph_y_mctq__sd__sleep_durthanph_y_mctq__sd__sleep_period. - Fixed a bug in the
compute_ph_y_mctq__fd__sleep__mid24h and 36h where incorrectly usedph_y_mctq__fd__sleep_durthanph_y_mctq__fd__sleep_period. - Fixed a bug in the
ph_y_mctq__sleep_losswhere incorrectly usedph_y_mctq__*__sleep_durthanph_y_mctq__*__sleep_period. - Fixed
compute_ph_y_mctq__sd_countto handle missing variables.ph_y_mctq__school_001__v01andph_y_mctq__school_001__01__v1were required by the function but not available before 7.0.0. Now, before package version 7.0.0, if these variables are missing, the function will create them internally and fill them withNAvalues. After 7.0.0, these variables are expected to be present.