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

2020-07-08 Thread Henrik Bengtsson
On Wed, Jul 8, 2020 at 12:11 AM Martin Maechler
 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  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  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

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-07-08 Thread Martin Maechler
> 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

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-07-07 Thread Uwe Ligges
Not nice, but you may follow the way described in subsection 
"Platform-specific documentation" in WRE.


Best,
Uwe


On 08.07.2020 03:11, Henrik Bengtsson wrote:

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?

Thanks,

Henrik

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel



__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-07-07 Thread Henrik Bengtsson
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?

Thanks,

Henrik

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel