nicebread / BFDA

An R package for Bayes Factor Design Analysis
28 stars 9 forks source link

Parallelized BFDA.sim crashes if B = 1 #10

Open astefan1 opened 4 years ago

astefan1 commented 4 years ago

Issue: If I set the argument B to B = 1 in the BFDA.sim function and use multiple cores (e.g., cores = 4), the function crashes with the error "Error in { : task 1 failed - "subscript out of bounds" ".

Solution: It can be resolved by manually setting cores = 1.

Action: Automate this from within the code to make the function more stable.