Skip to content

The End of this Story and the Beginning of all of the Others

Compare
Choose a tag to compare
@njtierney njtierney released this 03 Mar 04:24
· 189 commits to master since this release

naniar 0.5.0 (2020/02/20) "The End of this Story and the Beginning of all of the Others"

Breaking Changes

  • The following functions related to calculating the proportion/percentage of missingness were made Defunct and will no longer work:
    • miss_var_prop()
    • complete_var_prop()
    • miss_var_pct()
    • complete_var_pct()
    • miss_case_prop()
    • complete_case_prop()
    • miss_case_pct()
    • complete_case_pct()

Instead use: prop_miss_var(), prop_complete_var(), pct_miss_var(), pct_complete_var(), prop_miss_case(), prop_complete_case(), pct_miss_case(), pct_complete_case(). (see 242)

  • replace_to_na() was made defunct, please use replace_with_na() instead. (see 242)

Minor changes

  • miss_var_cumsum and miss_case_cumsum are now exported
  • use map_dfc instead of map_df
  • Fix various extra warnings and improve test coverage

Bug Fixes

  • Address bug where the number of missings in a row is not calculated properly - see 238 and 232. The solution involved using rowSums(is.na(x)), which was 3 times faster.
  • Resolve bug in gg_miss_fct() where warning is given for non explicit NA values - see 241.
  • skip vdiffr tests on github actions
  • use tibble() not data_frame()