[Bioc-devel] using covr with the parallel package

Leonard Goldstein goldstein.leonard at gene.com
Mon Aug 17 20:13:53 CEST 2015


Hi Jim,

I noticed that when covr calculates test coverage, functions called
inside mclapply or mcmapply with argument mc.preschedule = FALSE are
considered untested (even if unit tests exist)

When running checks I only use one core. So an easy fix would be to
set mc.preschedule to TRUE if mc.cores = 1. But I was wondering if you
are aware of this behavior and whether there is a way to avoid it?

Many thanks for your help.

Leonard



More information about the Bioc-devel mailing list