remove ggplot2 and data.table, since they may not exist