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

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Wed Jul 8 07:18:53 CEST 2020


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 using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list