Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion R/ds.asCharacter.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
#' # Converting the R object into a class character
#' ds.asCharacter(x.name = "D$LAB_TSC",
#' newobj = "char.obj",
#' datasources = connections[1]) #only the first Opal server is used ("study1")
#' datasources = connections[1]) #only the first Opal server
#' #is used ("study1")
#'
#' # Clear the Datashield R sessions and logout
#' datashield.logout(connections)
Expand All @@ -67,6 +68,6 @@
}

calltext <- call("asCharacterDS", x.name)
DSI::datashield.assign(datasources, newobj, calltext)

Check warning on line 71 in R/ds.asCharacter.R

View workflow job for this annotation

GitHub Actions / R lint (lintr)

file=R/ds.asCharacter.R,line=71,col=7,[namespace_linter] Don't use `::` to access datashield.assign, which is already imported from DSI.

}
3 changes: 2 additions & 1 deletion R/ds.asDataMatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
#' # Converting the R object into a matrix
#' ds.asDataMatrix(x.name = "D",
#' newobj = "mat.obj",
#' datasources = connections[1]) #only the first Opal server is used ("study1")
#' datasources = connections[1]) #only the first Opal server
#' #is used ("study1")
#'
#' # Clear the Datashield R sessions and logout
#' datashield.logout(connections)
Expand All @@ -66,6 +67,6 @@
}

calltext <- call("asDataMatrixDS", x.name)
DSI::datashield.assign(datasources, newobj, calltext)

Check warning on line 70 in R/ds.asDataMatrix.R

View workflow job for this annotation

GitHub Actions / R lint (lintr)

file=R/ds.asDataMatrix.R,line=70,col=7,[namespace_linter] Don't use `::` to access datashield.assign, which is already imported from DSI.

}
3 changes: 2 additions & 1 deletion R/ds.asInteger.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
#' # Converting the R object into an integer
#' ds.asInteger(x.name = "D$LAB_TSC",
#' newobj = "int.obj",
#' datasources = connections[1]) #only the first Opal server is used ("study1")
#' datasources = connections[1]) #only the first Opal server
#' #is used ("study1")
#' ds.class(x = "int.obj", datasources = connections[1])
#'
#' # Clear the Datashield R sessions and logout
Expand All @@ -80,6 +81,6 @@
}

calltext <- call("asIntegerDS", x.name)
DSI::datashield.assign(datasources, newobj, calltext)

Check warning on line 84 in R/ds.asInteger.R

View workflow job for this annotation

GitHub Actions / R lint (lintr)

file=R/ds.asInteger.R,line=84,col=8,[namespace_linter] Don't use `::` to access datashield.assign, which is already imported from DSI.

}
3 changes: 2 additions & 1 deletion R/ds.asNumeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
#' # Converting the R object into a numeric class
#' ds.asNumeric(x.name = "D$LAB_TSC",
#' newobj = "num.obj",
#' datasources = connections[1]) #only the first Opal server is used ("study1")
#' datasources = connections[1]) #only the first Opal server
#' #is used ("study1")
#' ds.class(x = "num.obj", datasources = connections[1])
#'
#' # Clear the Datashield R sessions and logout
Expand Down
9 changes: 6 additions & 3 deletions R/ds.completeCases.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,16 @@
#' newobj = "D.completeCases", # name for the output object
#' # that is stored in the Opal servers
#' datasources = connections) # All Opal servers are used
#' # (see above the connection to the Opal servers)
#' # (see above the connection to
#' # the Opal servers)
#'
#' ds.completeCases(x1 = "D$LAB_TSC", #vector (variable) of the data frames in the Opal servers
#' ds.completeCases(x1 = "D$LAB_TSC", #vector (variable) of the data frames in
#' #the Opal servers
#' #(see above the connection to the Opal servers)
#' newobj = "LAB_TSC.completeCases", #name for the output variable
#' #that is stored in the Opal servers
#' datasources = connections[2]) #only the second Opal server is used ("study2")
#' datasources = connections[2]) #only the second Opal server
#' #is used ("study2")
#'
#' # Clear the Datashield R sessions and logout
#' datashield.logout(connections)
Expand Down
3 changes: 2 additions & 1 deletion R/ds.dataFrame.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
#' completeCases = TRUE, #only rows with not missing values are selected
#' DataSHIELD.checks = FALSE,
#' newobj = "df1",
#' datasources = connections[1], #only the first Opal server is used ("study1")
#' datasources = connections[1], #only the first Opal server
#' #is used ("study1")
#' notify.of.progress = FALSE)
#'
#'
Expand Down
3 changes: 2 additions & 1 deletion R/ds.dataFrameSort.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
#' sort.descending = TRUE,
#' sort.method = "numeric",
#' newobj = "df.sort",
#' datasources = connections[1]) #only the first Opal server is used ("study1")
#' datasources = connections[1]) #only the first Opal server
#' #is used ("study1")
#'
#' # Clear the Datashield R sessions and logout
#' datashield.logout(connections)
Expand Down
7 changes: 4 additions & 3 deletions R/ds.densityGrid.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@
#' ds.densityGrid(x="D$LAB_TSC",
#' y="D$LAB_HDL",
#' type="split"
#' datasources = connections[1])#only the first Opal server is used ("study1")
#' datasources = connections[1])#only the first Opal server
#' #is used ("study1")
#'
#' # Example3: generate a grid density object where the number of intervals is set to 15, for
#' each study separately
#' # Example3: generate a grid density object where the number of intervals is set to 15,
#' # for each study separately
#' ds.densityGrid(x="D$LAB_TSC",
#' y="D$LAB_HDL",
#' type="split",
Expand Down
Loading