drop_empty_recursively {salesforcer}R 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.


[Package salesforcer version 1.0.2 Index]