
check if a list has NULL; if so, remove it (them)
check_remove_null.Rdcheck if a list has NULL; if so, remove it (them)
Examples
x <- list(a = 1, b = NULL)
check_remove_null(x)
#> $a
#> [1] 1
#>

NULL; if so, remove it (them)check_remove_null.Rdcheck if a list has NULL; if so, remove it (them)
x <- list(a = 1, b = NULL)
check_remove_null(x)
#> $a
#> [1] 1
#>