You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
two.step.hybrid.R and semi.sup.R rely on parallel execution with R's parallel package. Instead of exporting individual functions to clusters the whole package is exported (once in two.step.hybrid, 6 times in semi.sup).
clusterEvalQ(cluster, library(recetox.aplcms))
Such an approach requires recetox.aplcms package to be installed prior to testing, which is wrong. The solution would be to register each cluster's individual functions instead of the whole package, e.g., clusterEvalQ(cluster, "adjust.time").
However, that approach distorts cache handling: some cache files won't get written on disk.
The task is to refactor the parallel execution so that two-step-hybrid test passes without having recetox.aplcms package installed.
The text was updated successfully, but these errors were encountered:
two.step.hybrid.R and semi.sup.R rely on parallel execution with R's parallel package. Instead of exporting individual functions to clusters the whole package is exported (once in
two.step.hybrid
, 6 times insemi.sup
).Such an approach requires
recetox.aplcms
package to be installed prior to testing, which is wrong. The solution would be to register each cluster's individual functions instead of the whole package, e.g.,clusterEvalQ(cluster, "adjust.time")
.However, that approach distorts cache handling: some cache files won't get written on disk.
The task is to refactor the parallel execution so that
two-step-hybrid
test passes without havingrecetox.aplcms
package installed.The text was updated successfully, but these errors were encountered: