Petr Simecek noted that if their cluster runs out of memory, the
cluster_lapply function will return a list of NULLs, which returns in
a cryptic error in later code.
Added checks for NULLs in the returned results and stops with an
error if there is a problem.
Petr Simecek noted that if their cluster runs out of memory, the cluster_lapply function will return a list of NULLs, which returns in a cryptic error in later code.
Added checks for NULLs in the returned results and stops with an error if there is a problem.