From 15aaa115833600ff6b6bbba6c987b2c641be09e8 Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Mon, 12 Oct 2026 13:00:02 +0100 Subject: [PATCH] Fixing line length (over 100) problems/notes --- R/ds.asCharacter.R | 3 ++- R/ds.asDataMatrix.R | 3 ++- R/ds.asInteger.R | 3 ++- R/ds.asNumeric.R | 3 ++- R/ds.completeCases.R | 9 ++++++--- R/ds.dataFrame.R | 3 ++- R/ds.dataFrameSort.R | 3 ++- R/ds.densityGrid.R | 7 ++++--- 8 files changed, 22 insertions(+), 12 deletions(-) diff --git a/R/ds.asCharacter.R b/R/ds.asCharacter.R index 623e43dbe..dfc68ee52 100644 --- a/R/ds.asCharacter.R +++ b/R/ds.asCharacter.R @@ -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) diff --git a/R/ds.asDataMatrix.R b/R/ds.asDataMatrix.R index bdfa9fdd0..a49edce4a 100644 --- a/R/ds.asDataMatrix.R +++ b/R/ds.asDataMatrix.R @@ -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) diff --git a/R/ds.asInteger.R b/R/ds.asInteger.R index 0e9670df0..b2457de7f 100644 --- a/R/ds.asInteger.R +++ b/R/ds.asInteger.R @@ -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 diff --git a/R/ds.asNumeric.R b/R/ds.asNumeric.R index 803a6308d..f24fc76b0 100644 --- a/R/ds.asNumeric.R +++ b/R/ds.asNumeric.R @@ -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 diff --git a/R/ds.completeCases.R b/R/ds.completeCases.R index 107f70de6..5cd3b5726 100644 --- a/R/ds.completeCases.R +++ b/R/ds.completeCases.R @@ -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) diff --git a/R/ds.dataFrame.R b/R/ds.dataFrame.R index ccd671c4d..3e222ccc6 100644 --- a/R/ds.dataFrame.R +++ b/R/ds.dataFrame.R @@ -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) #' #' diff --git a/R/ds.dataFrameSort.R b/R/ds.dataFrameSort.R index f8fc52f77..60a5bbdff 100644 --- a/R/ds.dataFrameSort.R +++ b/R/ds.dataFrameSort.R @@ -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) diff --git a/R/ds.densityGrid.R b/R/ds.densityGrid.R index d617dd731..23e886585 100644 --- a/R/ds.densityGrid.R +++ b/R/ds.densityGrid.R @@ -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",