[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
Wed Jul 8 03:11:00 CEST 2020

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

# 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?



More information about the R-package-devel mailing list