[Bioc-devel] Linking packages in man pages

Martin Morgan mtmorg@n@b|oc @end|ng |rom gm@||@com
Mon Jun 17 22:05:17 CEST 2019

mclapply is not available or documented on Windows. I think the solution is actually to be vague, and replace \code{\link[parallel]{mclapply}}) with \code{\link{mclapply}} at https://github.com/sellerslab/gemini/blob/b1408bdce22df08d6950fee578eaac7665f54960/R/gemini_parallelization.R#L9


On 6/17/19, 3:52 PM, "Bioc-devel on behalf of Sidharth Jain" <bioc-devel-bounces using r-project.org on behalf of sidharthsjain using gmail.com> wrote:

    I have been getting the following warnings upon package building on tokay1:
    Found the following significant warnings:
      Rd warning: C:/Users/pkgbuild/AppData/Local/Temp/RtmpwTSgiX/R.INSTALLe1c5c6b6ce1/gemini/man/gemini_parallelization.Rd:14:
    file link 'mclapply' in package 'parallel' does not exist and so has
    been treated as a topic
      Rd warning: C:/Users/pkgbuild/AppData/Local/Temp/RtmpwTSgiX/R.INSTALLe1c5c6b6ce1/gemini/man/reexports.Rd:14:
    file link '%<>%' in package 'magrittr' does not exist and so has been
    treated as a topic
    It seems that the problem is coming from links in my documentation. I
    import functions from both packages.
    I included the following in a function's roxygen2 skeleton:
    I also added:@importFrom parallel mclapply
    @importFrom magrittr `%<>%`
    How should I indicate that these packages should be installed? Is this
    a problem with my package, or a problem with the installation/tokay1?
    	[[alternative HTML version deleted]]
    Bioc-devel using r-project.org mailing list

More information about the Bioc-devel mailing list