Skip to contents

Remove empty rows and columns

Usage

remove_quiet(df, ...)

Arguments

df

data frame

...

additional arguments to pass to janitor::remove_empty()

Examples

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