Run R code in parallel using the parallel, future, foreach, and related packages across multiple CPU cores