# NOT RUN {
tmp <- data.frame(a = c(1, 2, 3, NA, 5),
b = c(1, NA, 3, NA , 5),
c = c(NA, NA, NA, NA, NA),
d = c(1, NA, 3, NA, 5))
tmp
empty_cols(tmp)
empty_rows(tmp)
remove_empty_cols(tmp)
remove_empty_rows(tmp)
# }
Run the code above in your browser using DataLab