PhilBoileau / cvCovEst

An R package for assumption-lean covariance matrix estimation in high dimensions
https://philboileau.github.io/cvCovEst/
Other
13 stars 4 forks source link

Parallel fix #27

Closed PhilBoileau closed 4 years ago

PhilBoileau commented 4 years ago

When passing the rlang::expr of estimators to origami::cross_validate with the parallel option set to TRUE, the underlying call to future_lapply would evaluate the estimators expr. This would then cause errors in the fold function. I'm not exactly sure why this occurs, but it was fixed by capturing the collection of estimators as a rlang::quo instead.