Browse code

Another attempt to fix links in Rd files to quieten R CMD check on Windows

- According to Martin, this is the 'simplest solution', which lets the help system resolve the location dynamically (https://stat.ethz.ch/pipermail/bioc-devel/2020-April/016552.html)

Peter Hickey authored on 04/06/2020 03:06:19
Showing 3 changed files

... ...
@@ -35,18 +35,13 @@ BSmooth(BSseq,
35 35
     monitoring' and 'Realization backends' for further details.}
36 36
   \item{chunkdim}{\strong{Only applicable if \code{BACKEND == "HDF5Array"}.}
37 37
     The dimensions of the chunks to use for writing the data to
38
-    disk. By default,
39
-    \code{\link[HDF5Array:HDF5-dump-management]{getHDF5DumpChunkDim}()}
40
-    using the dimensions of the returned \linkS4class{BSseq} object will be
41
-    used. See \code{?\link[HDF5Array:HDF5-dump-management]{getHDF5DumpChunkDim}}
42
-    for more information.}
38
+    disk. By default, \code{\link{getHDF5DumpChunkDim}()} using the dimensions
39
+    of the returned \linkS4class{BSseq} object will be used. See
40
+    \code{?{getHDF5DumpChunkDim}} for more information.}
43 41
   \item{level}{\strong{Only applicable if \code{BACKEND == "HDF5Array"}.}
44 42
     The compression level to use for writing the data to disk. By
45
-    default,
46
-    \code{\link[HDF5Array:HDF5-dump-management]{getHDF5DumpCompressionLevel}()}
47
-    will be used. See
48
-    \code{?\link[HDF5Array:HDF5-dump-management]{getHDF5DumpCompressionLevel}}
49
-    for more information.}
43
+    default, \code{\link{getHDF5DumpCompressionLevel}()} will be used. See
44
+    \code{?\link{getHDF5DumpCompressionLevel}} for more information.}
50 45
   \item{verbose}{A \code{logical(1)} indicating whether progress messages
51 46
     should be printed (default \code{TRUE}).}
52 47
 }
... ...
@@ -67,8 +62,7 @@ BSmooth(BSseq,
67 62
   \linkS4class{HDF5Array}, for example.
68 63
 
69 64
   The choice of realization backend is controlled by the \code{BACKEND}
70
-  argument, which defaults to the current value of
71
-  \code{DelayedArray::\link[DelayedArray:RealizationSink]{getRealizationBackend}()}.
65
+  argument, which defaults to the current value of \code{DelayedArray::\link{getRealizationBackend}()}.
72 66
 
73 67
   \code{BSmooth} supports the following realization backends:
74 68
 
... ...
@@ -134,9 +134,8 @@ slots for representing smoothed data. This class is an extension of
134 134
       matrices (the latter two can only be combined if all objects have the
135 135
       same rowRanges). The default, \code{BACKEND = NULL}, corresponds to using
136 136
       \link[base]{matrix} objects. See
137
-      \code{?DelayedArray::\link[DelayedArray:RealizationSink]{setRealizationBackend}}
138
-      for alternative backends.
139
-      }
137
+      \code{?DelayedArray::\link{setRealizationBackend}} for alternative
138
+      backends.}
140 139
 
141 140
     \item{\code{strandCollapse(BSseq, shift = TRUE)}}{
142 141
 
... ...
@@ -71,17 +71,14 @@
71 71
   \item{chunkdim}{\strong{Only applicable if \code{BACKEND == "HDF5Array"}.}
72 72
     The dimensions of the chunks to use for writing the data to
73 73
     disk. By default,
74
-    \code{\link[HDF5Array:HDF5-dump-management]{getHDF5DumpChunkDim}()}
75
-    using the dimensions of the returned \linkS4class{BSseq} object will be
76
-    used. See \code{?\link[HDF5Array:HDF5-dump-management]{getHDF5DumpChunkDim}}
77
-    for more information.}
74
+    \code{\link{getHDF5DumpChunkDim}()} using the dimensions of the returned
75
+    \linkS4class{BSseq} object will be used. See
76
+    \code{?\link{getHDF5DumpChunkDim}} for more information.}
78 77
   \item{level}{\strong{Only applicable if \code{BACKEND == "HDF5Array"}.}
79 78
     The compression level to use for writing the data to disk. By
80 79
     default,
81
-    \code{\link[HDF5Array:HDF5-dump-management]{getHDF5DumpCompressionLevel}()}
82
-    will be used. See
83
-    \code{?\link[HDF5Array:HDF5-dump-management]{getHDF5DumpCompressionLevel}}
84
-    for more information.}
80
+    \code{\link{getHDF5DumpCompressionLevel}()} will be used. See
81
+    \code{?\link{getHDF5DumpCompressionLevel}} for more information.}
85 82
   \item{nThread}{The number of threads used by \code{\link[data.table]{fread}}
86 83
     when reading the \code{files}. Be careful when combining a parallel backend
87 84
     specified with \code{BPPARAM} with \code{nThread} > 1 because each worker
... ...
@@ -178,7 +175,7 @@
178 175
 \section{Realization backends}{
179 176
   The \code{read.bismark()} function creates a \linkS4class{BSseq} object with two assays, \code{M} and \code{Cov}.
180 177
   The choice of \emph{realization backend} controls whether these assays are stored in-memory as an ordinary \link[base]{matrix} or on-disk as a \linkS4class{HDF5Array}, for example.
181
-  The choice of realization backend is controlled by the \code{BACKEND} argument, which defaults to the current value of \code{DelayedArray::\link[DelayedArray:RealizationSink]{getRealizationBackend}()}.
178
+  The choice of realization backend is controlled by the \code{BACKEND} argument, which defaults to the current value of \code{DelayedArray::\link{getRealizationBackend}()}.
182 179
 
183 180
   \code{read.bismark()} supports the following realization backends:
184 181