Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

drop_empty_recursively

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

An Implementation of 'Salesforce' APIs Using Tidy Principles

v0.2.2
MIT + file LICENSE
Authors
Steven M. Mortimer [aut, cre], Takekatsu Hiramura [ctb], Jennifer Bryan [ctb, cph], Joanna Zhao [ctb, cph]
Initial release
2020-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.