Skip to content

[R-pkg-devel] Documentation Cross-reference Unexpected Warning

4 messages · Uwe Ligges, Dario Strbenac

#
Good day,

If limma has already been installed, such as by

source("https://bioconductor.org/biocLite.R")
biocLite("limma")

and the attached minimalist R package is built and checked, a warning is emitted about the cross-reference in the documentation file. The Writing R Extensions manual states that the [packageName] specifier would only be needed to "... refer to not-yet-installed packages ..." but in this case, limma is already installed and is in the library path. Is the warning a false positive? I am using the latest release of R.

* using R version 3.5.0 (2018-04-23)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tester.tar.gz
Type: application/x-gzip
Size: 2984 bytes
Desc: Tester.tar.gz
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20180513/65fb3f07/attachment.bin>
#
You need

\link[limma]{limFit}

see Writing R Extensions.

Best,
Uwe Ligges
On 13.05.2018 04:00, Dario Strbenac wrote:
#
Good day,

That form solves it, but there's nothing in the Cross-references secion of the manual which suggests that it is necessary.

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
#
On 13.05.2018 10:00, Dario Strbenac wrote:
Indeed, that part of the manual seems outdated, will discuss internally.

Best,
Uwe Ligges