Skip to content

Commit 887b6f9

Browse files
committed
fix: doc links
1 parent 53ffe6f commit 887b6f9

45 files changed

Lines changed: 81 additions & 81 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ URL: https://github.com/datashield/DSLite/,
3030
https://www.datashield.org/,
3131
https://doi.org/10.1093/ije/dyu188
3232
BugReports: https://github.com/datashield/DSLite/issues/
33-
RoxygenNote: 7.2.1
33+
RoxygenNote: 7.3.2
3434
Roxygen: list(markdown = TRUE)
3535
VignetteBuilder: knitr
3636
Encoding: UTF-8

R/DSLiteConnection.R

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ setOldClass("DSLiteServer")
33

44
#' Class DSLiteConnection.
55
#'
6-
#' An DSLiteServer connection implementing the DataSHIELD Interface (DSI) \code{\link{DSConnection-class}}.
6+
#' A DSLiteServer connection implementing the DataSHIELD Interface (DSI) \code{\link[DSI]{DSConnection-class}}.
77
#'
88
#' @import methods
99
#' @import DSI
@@ -15,7 +15,7 @@ setClass("DSLiteConnection", contains = "DSConnection", slots = list(name = "cha
1515
#'
1616
#' Connect to a DSLite server, with provided datasets symbol names.
1717
#'
18-
#' @param drv \code{\link{DSLiteDriver-class}} class object.
18+
#' @param drv \code{\linkS4class{DSLiteDriver}} class object.
1919
#' @param name Name of the connection, which must be unique among all the DataSHIELD connections.
2020
#' @param url A R symbol that refers to a \link{DSLiteServer} object that holds the datasets of interest. The
2121
#' option "datashield.env" can be used to specify where to search for this symbol value. If not specified,
@@ -24,7 +24,7 @@ setClass("DSLiteConnection", contains = "DSConnection", slots = list(name = "cha
2424
#' @param profile Name of the profile that will be given to the DSLiteServer configuration. Make different DSLiteServers to support different configurations.
2525
#' @param ... Unused, needed for compatibility with generic.
2626
#'
27-
#' @return A \code{\link{DSLiteConnection-class}} object.
27+
#' @return A \code{\linkS4class{DSLiteConnection}} object.
2828
#'
2929
#' @import methods
3030
#' @export
@@ -44,7 +44,7 @@ setMethod("dsConnect", "DSLiteDriver",
4444
#'
4545
#' No operation due to the DSLiteServer nature.
4646
#'
47-
#' @param conn \code{\link{DSLiteConnection-class}} class object
47+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
4848
#'
4949
#' @import methods
5050
#' @export
@@ -54,7 +54,7 @@ setMethod("dsKeepAlive", "DSLiteConnection", function(conn) {})
5454
#'
5555
#' Save the session in a local file if requested.
5656
#'
57-
#' @param conn \code{\link{DSLiteConnection-class}} class object
57+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
5858
#' @param save Save the DataSHIELD R session with provided ID (must be a character string).
5959
#'
6060
#' @import methods
@@ -68,7 +68,7 @@ setMethod("dsDisconnect", "DSLiteConnection", function(conn, save = NULL) {
6868
#'
6969
#' List dataset names living in the DSLite server for performing DataSHIELD operations.
7070
#'
71-
#' @param conn \code{\link{DSLiteConnection-class}} class object
71+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
7272
#'
7373
#' @return The fully qualified names of the tables.
7474
#'
@@ -82,7 +82,7 @@ setMethod("dsListTables", "DSLiteConnection", function(conn) {
8282
#'
8383
#' List resource names living in the DSLite server for performing DataSHIELD operations.
8484
#'
85-
#' @param conn \code{\link{DSLiteConnection-class}} class object
85+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
8686
#'
8787
#' @return The fully qualified names of the resources.
8888
#'
@@ -96,7 +96,7 @@ setMethod("dsListResources", "DSLiteConnection", function(conn) {
9696
#'
9797
#' Verify dataset exists and can be accessible for performing DataSHIELD operations.
9898
#'
99-
#' @param conn \code{\link{DSLiteConnection-class}} class object.
99+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object.
100100
#' @param table The fully qualified name of the dataset.
101101
#'
102102
#' @return TRUE if dataset exists.
@@ -111,7 +111,7 @@ setMethod("dsHasTable", "DSLiteConnection", function(conn, table) {
111111
#'
112112
#' Verify resource exists and can be accessible for performing DataSHIELD operations.
113113
#'
114-
#' @param conn \code{\link{DSLiteConnection-class}} class object.
114+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object.
115115
#' @param resource The fully qualified name of the resource.
116116
#'
117117
#' @return TRUE if dataset exists.
@@ -126,7 +126,7 @@ setMethod("dsHasResource", "DSLiteConnection", function(conn, resource) {
126126
#'
127127
#' No asynchronicity on any DataSHIELD operations.
128128
#'
129-
#' @param conn \code{\link{DSLiteConnection-class}} class object
129+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
130130
#'
131131
#' @return The named list of logicals detailing the asynchronicity support.
132132
#'
@@ -140,7 +140,7 @@ setMethod("dsIsAsync", "DSLiteConnection", function(conn) {
140140
#'
141141
#' List symbols living in the DataSHIELD R session.
142142
#'
143-
#' @param conn \code{\link{DSLiteConnection-class}} class object
143+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
144144
#'
145145
#' @return A character vector.
146146
#'
@@ -154,7 +154,7 @@ setMethod("dsListSymbols", "DSLiteConnection", function(conn) {
154154
#'
155155
#' Remoe a symbol living in the DataSHIELD R session.
156156
#'
157-
#' @param conn \code{\link{DSLiteConnection-class}} class object
157+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
158158
#' @param symbol Name of the R symbol.
159159
#'
160160
#' @import methods
@@ -167,7 +167,7 @@ setMethod("dsRmSymbol", "DSLiteConnection", function(conn, symbol) {
167167
#'
168168
#' List profiles defined in the DataSHIELD configuration.
169169
#'
170-
#' @param conn \code{\link{DSLiteConnection-class}} class object
170+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
171171
#'
172172
#' @return A list containing the "available" character vector of profile names and the "current" profile (in case a default one was assigned).
173173
#'
@@ -181,7 +181,7 @@ setMethod("dsListProfiles", "DSLiteConnection", function(conn) {
181181
#'
182182
#' List methods defined in the DataSHIELD configuration.
183183
#'
184-
#' @param conn \code{\link{DSLiteConnection-class}} class object
184+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
185185
#' @param type Type of the method: "aggregate" (default) or "assign".
186186
#'
187187
#' @return A data frame.
@@ -200,7 +200,7 @@ setMethod("dsListMethods", "DSLiteConnection", function(conn, type = "aggregate"
200200
#'
201201
#' List packages defined in the DataSHIELD configuration.
202202
#'
203-
#' @param conn \code{\link{DSLiteConnection-class}} class object
203+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
204204
#'
205205
#' @return A data frame.
206206
#'
@@ -216,7 +216,7 @@ setMethod("dsListPackages", "DSLiteConnection", function(conn) {
216216
#'
217217
#' List workspaces saved in the data repository.
218218
#'
219-
#' @param conn \code{\link{DSLiteConnection-class}} class object
219+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
220220
#'
221221
#' @return A data frame.
222222
#'
@@ -230,7 +230,7 @@ setMethod("dsListWorkspaces", "DSLiteConnection", function(conn) {
230230
#'
231231
#' Save workspace on the data repository.
232232
#'
233-
#' @param conn \code{\link{DSLiteConnection-class}} class object
233+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
234234
#' @param name Name of the workspace.
235235
#'
236236
#' @import methods
@@ -243,7 +243,7 @@ setMethod("dsSaveWorkspace", "DSLiteConnection", function(conn, name) {
243243
#'
244244
#' Restore workspace from the data repository.
245245
#'
246-
#' @param conn \code{\link{DSLiteConnection-class}} class object
246+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
247247
#' @param name Name of the workspace.
248248
#'
249249
#' @import methods
@@ -256,7 +256,7 @@ setMethod("dsRestoreWorkspace", "DSLiteConnection", function(conn, name) {
256256
#'
257257
#' Remove a workspace on the data repository.
258258
#'
259-
#' @param conn \code{\link{DSLiteConnection-class}} class object
259+
#' @param conn \code{\linkS4class{DSLiteConnection}} class object
260260
#' @param name Name of the workspace.
261261
#'
262262
#' @import methods
@@ -269,7 +269,7 @@ setMethod("dsRmWorkspace", "DSLiteConnection", function(conn, name) {
269269
#'
270270
#' Assign a DSLite dataset in the DataSHIELD R session.
271271
#'
272-
#' @param conn \code{\link{DSLiteConnection-class}} object.
272+
#' @param conn \code{\linkS4class{DSLiteConnection}} object.
273273
#' @param symbol Name of the R symbol.
274274
#' @param table Fully qualified name of a dataset living in the DSLite server.
275275
#' @param variables The variable names to be filtered in.
@@ -280,7 +280,7 @@ setMethod("dsRmWorkspace", "DSLiteConnection", function(conn, name) {
280280
#' @param async Whether the result of the call should be retrieved asynchronously. When TRUE (default) the calls are parallelized over
281281
#' the connections, when the connection supports that feature, with an extra overhead of requests.
282282
#'
283-
#' @return A \code{\link{DSLiteResult-class}} object.
283+
#' @return A \code{\linkS4class{DSLiteResult}} object.
284284
#'
285285
#' @import methods
286286
#' @export
@@ -300,13 +300,13 @@ setMethod("dsAssignTable", "DSLiteConnection", function(conn, symbol, table, var
300300
#'
301301
#' Assign a DSLite resource in the DataSHIELD R session.
302302
#'
303-
#' @param conn \code{\link{DSLiteConnection-class}} object.
303+
#' @param conn \code{\linkS4class{DSLiteConnection}} object.
304304
#' @param symbol Name of the R symbol.
305305
#' @param resource Fully qualified name of a resource object living in the DSLite server.
306306
#' @param async Whether the result of the call should be retrieved asynchronously. When TRUE (default) the calls are parallelized over
307307
#' the connections, when the connection supports that feature, with an extra overhead of requests.
308308
#'
309-
#' @return A \code{\link{DSLiteResult-class}} object.
309+
#' @return A \code{\linkS4class{DSLiteResult}} object.
310310
#'
311311
#' @import methods
312312
#' @export
@@ -323,13 +323,13 @@ setMethod("dsAssignResource", "DSLiteConnection", function(conn, symbol, resourc
323323
#'
324324
#' Assign a result of the execution of an expression in the DataSHIELD R session.
325325
#'
326-
#' @param conn \code{\link{DSLiteConnection-class}} object.
326+
#' @param conn \code{\linkS4class{DSLiteConnection}} object.
327327
#' @param symbol Name of the R symbol.
328328
#' @param expr A R expression with allowed assign functions calls.
329329
#' @param async Whether the result of the call should be retrieved asynchronously. When TRUE (default) the calls are parallelized over
330330
#' the connections, when the connection supports that feature, with an extra overhead of requests.
331331
#'
332-
#' @return A \code{\link{DSLiteResult-class}} object.
332+
#' @return A \code{\linkS4class{DSLiteResult}} object.
333333
#'
334334
#' @import methods
335335
#' @export
@@ -343,7 +343,7 @@ setMethod("dsAssignExpr", "DSLiteConnection", function(conn, symbol, expr, async
343343
#' Aggregate some data from the DataSHIELD R session using a valid R expression. The aggregation expression
344344
#' must satisfy the data repository's DataSHIELD configuration.
345345
#'
346-
#' @param conn \code{\link{DSLiteConnection-class}} object.
346+
#' @param conn \code{\linkS4class{DSLiteConnection}} object.
347347
#' @param expr Expression to evaluate.
348348
#' @param async Whether the result of the call should be retrieved asynchronously. When TRUE (default) the calls are parallelized over
349349
#' the connections, when the connection supports that feature, with an extra overhead of requests.

R/DSLiteDriver.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#' Class DSLiteDriver with constructor DSLite.
33
#'
4-
#' An DSLite driver implementing the DataSHIELD Interface (DSI) \code{\link{DSDriver-class}}.
4+
#' An DSLite driver implementing the DataSHIELD Interface (DSI) \code{\link[DSI]{DSDriver-class}}.
55
#' This class should always be initialized with the \code{\link{DSLite}} function.
66
#' It returns a singleton that allows you to connect to DSlite.
77
#'

R/DSLiteResult.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NULL
33

44
#' Class DSLiteResult.
55
#'
6-
#' An DSLite result implementing the DataSHIELD Interface (DSI) \code{\link{DSResult-class}}.
6+
#' An DSLite result implementing the DataSHIELD Interface (DSI) \code{\link[DSI]{DSResult-class}}.
77
#'
88
#' @import methods
99
#' @import DSI
@@ -17,7 +17,7 @@ setClass("DSLiteResult", contains = "DSResult", slots = list(
1717
#'
1818
#' Get the information about a command (if still available).
1919
#'
20-
#' @param dsObj \code{\link{DSLiteResult-class}} class object
20+
#' @param dsObj \code{\linkS4class{DSLiteResult}} class object
2121
#' @param ... Unused, needed for compatibility with generic.
2222
#'
2323
#' @return The result information, including its status.
@@ -32,7 +32,7 @@ setMethod("dsGetInfo", "DSLiteResult", function(dsObj, ...) {
3232
#'
3333
#' Always TRUE because of synchronous operations.
3434
#'
35-
#' @param res \code{\link{DSLiteResult-class}} object.
35+
#' @param res \code{\linkS4class{DSLiteResult}} object.
3636
#'
3737
#' @return Always TRUE.
3838
#'
@@ -46,7 +46,7 @@ setMethod("dsIsCompleted", "DSLiteResult", function(res) {
4646
#'
4747
#' Fetch the DataSHIELD operation result.
4848
#'
49-
#' @param res \code{\link{DSLiteResult-class}} object.
49+
#' @param res \code{\linkS4class{DSLiteResult}} object.
5050
#'
5151
#' @return TRUE if table exists.
5252
#'

R/getDSLiteData.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#' Get data value from DSLite connection(s)
22
#'
33
#' Get the data value corresponding to the variable with the symbol name from the \link{DSLiteServer} associated
4-
#' to the \code{\link{DSConnection-class}} object(s). Can be useful when developping a DataSHIELD package.
4+
#' to the \code{\link[DSI]{DSConnection-class}} object(s). Can be useful when developping a DataSHIELD package.
55
#'
6-
#' @param conns \code{\link{DSConnection-class}} object or a list of \code{\link{DSConnection-class}}s.
6+
#' @param conns \code{\link[DSI]{DSConnection-class}} object or a list of \code{\link[DSI]{DSConnection-class}}s.
77
#' @param symbol Symbol name identifying the variable in the \link{DSLiteServer}'s "server-side" environment(s).
88
#' @return The data value or a list of values depending on the connections parameter. The value is NA when the connection object
9-
#' is not of class \code{\link{DSLiteConnection-class}}.
9+
#' is not of class \code{\linkS4class{DSLiteConnection}}.
1010
#'
1111
#' @examples
1212
#' \dontrun{

R/setupCNSIMTest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#' can auto-configure itself and can execute the DataSHIELD operations. Default is none.
88
#' @param env The environment where DataSHIELD objects should be looked for: the \link{DSLiteServer} and
99
#' the DSIConnection objects. Default is the Global environment.
10-
#' @return The login data for the \link{datashield.login} function.
10+
#' @return The login data for the \link[DSI]{datashield.login} function.
1111
#' @family setup functions
1212
#' @examples
1313
#' \dontrun{

R/setupDASIMTest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#' can auto-configure itself and can execute the DataSHIELD operations. Default is none.
88
#' @param env The environment where DataSHIELD objects should be looked for: the \link{DSLiteServer} and
99
#' the DSIConnection objects. Default is the Global environment.
10-
#' @return The login data for the \link{datashield.login} function.
10+
#' @return The login data for the \link[DSI]{datashield.login} function.
1111
#' @family setup functions
1212
#' @examples
1313
#' \dontrun{

R/setupDATASETTest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#' can auto-configure itself and can execute the DataSHIELD operations. Default is none.
88
#' @param env The environment where DataSHIELD objects should be looked for: the \link{DSLiteServer} and
99
#' the DSIConnection objects. Default is the Global environment.
10-
#' @return The login data for the \link{datashield.login} function.
10+
#' @return The login data for the \link[DSI]{datashield.login} function.
1111
#' @family setup functions
1212
#' @examples
1313
#' \dontrun{

R/setupDISCORDANTTest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#' can auto-configure itself and can execute the DataSHIELD operations. Default is none.
88
#' @param env The environment where DataSHIELD objects should be looked for: the \link{DSLiteServer} and
99
#' the DSIConnection objects. Default is the Global environment.
10-
#' @return The login data for the \link{datashield.login} function.
10+
#' @return The login data for the \link[DSI]{datashield.login} function.
1111
#' @family setup functions
1212
#' @examples
1313
#' \dontrun{

R/setupDSLiteServer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' will be the first not null one specified in the 'url' column of the loaded login data.
1515
#' @param env The environment where DataSHIELD objects should be looked for: the \link{DSLiteServer} and
1616
#' the DSIConnection objects. Default is the Global environment.
17-
#' @return The login data for the \link{datashield.login} function.
17+
#' @return The login data for the \link[DSI]{datashield.login} function.
1818
#' @family setup functions
1919
#'
2020
#' @examples

0 commit comments

Comments
 (0)