R/wrappers.R
remove_quiet.Rd
Remove empty rows and columns
remove_quiet(df, ...)
data frame
additional arguments to pass to janitor::remove_empty()
janitor::remove_empty()
x <- dplyr::tibble( x = c(1, 2, NA), y = c(NA, NA, NA)) x #> # A tibble: 3 × 2 #> x y #> <dbl> <lgl> #> 1 1 NA #> 2 2 NA #> 3 NA NA remove_quiet(x) #> # A tibble: 2 × 1 #> x #> <dbl> #> 1 1 #> 2 2