drop_empty_recursively: Remove all NULL or zero-length elements from list

View source: R/utils-query.R

drop_empty_recursivelyR Documentation

Remove all NULL or zero-length elements from list

Description

This function wraps the compact function to recursively remove elements from lists that contain no information.

Usage

drop_empty_recursively(x)

Arguments

x

list; a list to be cleaned.

Value

list containing no empty elements.

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.