Skip to content
Back to formatted view

Raw Message

Message-ID: <24325.29093.732066.164810@stat.math.ethz.ch>
Date: 2020-07-08T07:11:33Z
From: Martin Maechler
Subject: [R-pkg-devel]  How do you Rd reference parallel::mclapply() so it works also on Windows?
In-Reply-To: <CAFDcVCRNxFY1XPQ2OXv3Ymnc34vgQzYmm9cdf7Xp_=4LABXq6w@mail.gmail.com>

>>>>> Henrik Bengtsson 
>>>>>     on Tue, 7 Jul 2020 18:11:00 -0700 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"

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 ...

Apropos: Today starts the virtual [useR! 2020] conference with
	 an R-core Keynote and an R-core Panel for asking
	 questions :

  https://user2020.r-project.org/program/agenda/ 

  https://twitter.com/useR2020stl/status/1280655009714233346?s=20

Martin


    > How can I provide a \link{} reference to the
    > help("mclapply", package="parallel") documentation?

    > Thanks,
    > Henrik