remove depend on assertthat and dplyr