Skip to content

Stale link from ?check to R Internals

3 messages · Toby Hocking, Duncan Murdoch, Kurt Hornik

#
Hi the reference to R Internals
https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools
in ?check (PkgUtils.Rd in utils package) is stale. Here is my proposed
patch (use named reference rather than numeric reference to avoid any
similar broken links in the future).

Index: src/library/utils/man/PkgUtils.Rd
===================================================================
--- src/library/utils/man/PkgUtils.Rd (revision 79049)
+++ src/library/utils/man/PkgUtils.Rd (working copy)
@@ -40,7 +40,7 @@
   set by environment variables \env{_R_BUILD_RESAVE_DATA_} and
   \env{_R_BUILD_COMPACT_VIGNETTES_}: see \sQuote{Writing \R Extensions}.
   Many of the checks in \command{R CMD check} can be turned off or on by
-  environment variables: see Chapter 6 of the \sQuote{R Internals} manual.
+  environment variables: see Chapter "Tools" of the \sQuote{R Internals}
manual.

   By default \command{R CMD build} uses the \code{"internal"} option to
   \code{\link{tar}} to prepare the tarball.  An external \command{tar}
#
On 19/08/2020 12:26 p.m., Toby Hocking wrote:
Just to be clear:  you're giving the current URL, the problem is it's 
called "Chapter 6".

Duncan Murdoch
#
Fixed now.

Best
-k