[R-pkg-devel] Using parallel:::sendMaster &c. despite warnings

David Norris d@v|d @end|ng |rom prec|@|onmethod@@guru
Fri Jul 23 13:19:25 CEST 2021


Because parallelized progress reporting in the futureverse.org incurs latencies too great for my application (https://github.com/HenrikBengtsson/progressr/issues/118), I have found it necessary to implement my own progress reporting using some of the non-exported functionality from `parallel`. (I do appreciate that Windows lacks the fork() system call, and will not support this. But am willing to make this an OS_type: unix-only package.)

Of course, I get a WARNING for this:

── R CMD check results ──────────────────────────────── precautionary 0.2.6 ────
Duration: 6m 41.8s

❯ checking dependencies in R code ... WARNING
  Unexported objects imported by ':::' calls:
    ‘parallel:::readChild’ ‘parallel:::selectChildren’
    ‘parallel:::sendMaster’
    See the note in ?`:::` about the use of this operator.
    Including base/recommended package(s):
    ‘parallel’

Is this warning an absolute deal-killer on CRAN? Is there a 'correct' way to do `:::` that avoids the warning altogether?

Kind regards,
David Norris



More information about the R-package-devel mailing list