[R-pkg-devel] How do you Rd reference parallel::mclapply() so it works also on Windows?

Henrik Bengtsson henr|k@bengt@@on @end|ng |rom gm@||@com
Thu Jul 9 03:44:17 CEST 2020


On Wed, Jul 8, 2020 at 12:11 AM Martin Maechler
<maechler using stat.math.ethz.ch> wrote:
...
> Indeed, another example, why we should move away from the
> 'file' instead of 'topic' (<-> \alias{.}) paradigm and requirement.
>
> I'm optimistic we will do that soonish ...

On Wed, Jul 8, 2020 at 1:17 AM Kurt Hornik <Kurt.Hornik using wu.ac.at> wrote:
...
> But perhaps simply wait for a few more days ...

Oh, this is good news.

I see that these new warnings have already been disabled in R-devel.

Thxs,

Henrik


On Wed, Jul 8, 2020 at 1:17 AM Kurt Hornik <Kurt.Hornik using wu.ac.at> wrote:
>
> >>>>> Henrik Bengtsson writes:
>
> > Here's another "Non-file package-anchored link(s) ..." issue.  I'd
> > like to reference parallel::mclapply() in my help pages.  With the new
> > R-devel requirements, you have to link to the file and not the topic.
> > However, there is no cross-platform stable file reference for
> > parallel::mclapply();
>
> > # According to R on Linux
> >> basename(help("mclapply", package="parallel"))
> > [1] "mclapply"
>
> > # According to R on Windows
> >> basename(help("mclapply", package="parallel"))
> > [1] "mcdummies"
>
> > How can I provide a \link{} reference to the help("mclapply",
> > package="parallel") documentation?
>
> See R-exts, either "Platform-specific documentation" or "Dynamic pages".
>
> But perhaps simply wait for a few more days ...
>
> Best
> -k
>
>
> > Thanks,
>
> > Henrik



More information about the R-package-devel mailing list