Skip to content

Commit 4db816e

Browse files
committed
docs: update roxygen for classConsistencyCheck, remove stale checks param
1 parent a6d9f06 commit 4db816e

6 files changed

Lines changed: 39 additions & 43 deletions

File tree

R/ds.dim.R

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,18 @@
77
#' from every single study and the pooled dimension of the object by summing up the individual
88
#' dimensions returned from each study.
99
#'
10-
#' In \code{checks} parameter is suggested that checks should only be undertaken once the
11-
#' function call has failed.
12-
#'
1310
#' Server function called: \code{dimDS}
14-
#'
15-
#' @param x a character string providing the name of the input object.
16-
#' @param type a character string that represents the type of analysis to carry out.
11+
#'
12+
#' @param x a character string providing the name of the input object.
13+
#' @param type a character string that represents the type of analysis to carry out.
1714
#' If \code{type} is set to \code{'combine'}, \code{'combined'}, \code{'combines'} or \code{'c'},
18-
#' the global dimension is returned.
19-
#' If \code{type} is set to \code{'split'}, \code{'splits'} or \code{'s'},
15+
#' the global dimension is returned.
16+
#' If \code{type} is set to \code{'split'}, \code{'splits'} or \code{'s'},
2017
#' the dimension is returned separately for each study.
2118
#' If \code{type} is set to \code{'both'} or \code{'b'}, both sets of outputs are produced.
22-
#' Default \code{'both'}.
23-
#' @param checks logical. If TRUE undertakes all DataSHIELD checks (time-consuming).
24-
#' Default FALSE.
19+
#' Default \code{'both'}.
20+
#' @param classConsistencyCheck logical. If TRUE, checks that the input object has the same
21+
#' class across all studies. Default TRUE.
2522
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}}
2623
#' objects obtained after login. If the \code{datasources} argument is not specified
2724
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
@@ -68,17 +65,14 @@
6865
#' # Calculate the dimension
6966
#' ds.dim(x="D",
7067
#' type="combine", #global dimension
71-
#' checks = FALSE,
72-
#' datasources = connections)#all opal servers are used
68+
#'#' datasources = connections)#all opal servers are used
7369
#' ds.dim(x="D",
7470
#' type = "both",#separate dimension for each study
7571
#' #and the pooled dimension (default)
76-
#' checks = FALSE,
77-
#' datasources = connections)#all opal servers are used
72+
#'#' datasources = connections)#all opal servers are used
7873
#' ds.dim(x="D",
7974
#' type="split", #separate dimension for each study
80-
#' checks = FALSE,
81-
#' datasources = connections[1])#only the first opal server is used ("study1")
75+
#'#' datasources = connections[1])#only the first opal server is used ("study1")
8276
#'
8377
#' # clear the Datashield R sessions and logout
8478
#' datashield.logout(connections)

R/ds.length.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
#' if \code{type} is set to \code{'both'} or \code{'b'},
1515
#' both sets of outputs are produced.
1616
#' Default \code{'both'}.
17-
#' @param checks logical. If TRUE the model components are checked.
18-
#' Default FALSE to save time. It is suggested that checks
19-
#' should only be undertaken once the function call has failed.
17+
#' @param classConsistencyCheck logical. If TRUE, checks that the input object has the same
18+
#' class across all studies. Default TRUE.
2019
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}}
2120
#' objects obtained after login. If the \code{datasources} argument is not specified
2221
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.

man/ds.dim.Rd

Lines changed: 15 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ds.isNA.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ds.length.Rd

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ds.numNA.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)