Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4c16896
Switch ingestion to 'mysql'
StuartWheater Sep 18, 2025
68e3a55
Updated lemon-donkey with RC5
StuartWheater Sep 19, 2025
5a6410d
Switch to 'mongodb'
StuartWheater Sep 19, 2025
d5707a2
Switched Armadillo 5.9.1
StuartWheater Sep 19, 2025
56777d8
Merge branch 'datashield:v6.3.5-dev' into v6.3.5-dev
StuartWheater Sep 29, 2025
6d0e19e
Update to Armadillo 5.9.4
StuartWheater Sep 29, 2025
354de0c
Updated 'armadillo_azure-pipeline.csv'
StuartWheater Sep 29, 2025
c954c7e
ds.mice check pased on driver
StuartWheater Sep 29, 2025
cb70487
Updated 'armadillo_hp-laptop_quay' profile
StuartWheater Sep 29, 2025
7bf31e6
Updated 'armadillo_hp-laptop_quay.csv'
StuartWheater Sep 29, 2025
330d270
Updated 'opal_azure-pipeline'
StuartWheater Oct 1, 2025
1224d68
Update 'default_perf_profile'
StuartWheater Oct 1, 2025
816fc5d
Removed testStatus
StuartWheater Oct 3, 2025
39949a9
removed clientside checks
timcadman Oct 9, 2025
bdb5476
test: written tests for unhappy flow
timcadman Oct 9, 2025
9160862
Updates for context() + copyright
StuartWheater Oct 26, 2025
1a5bc41
New puild packages
StuartWheater Oct 27, 2025
e6c1797
Update version
StuartWheater Oct 27, 2025
77e939e
Update file names
StuartWheater Oct 27, 2025
ed1bd92
Merge pull request #619 from StuartWheater/v6.3.5-dev-feat/testthat-r…
StuartWheater Oct 28, 2025
fe012e4
Merge pull request #618 from StuartWheater/v6.3.5-dev
StuartWheater Oct 28, 2025
3f39334
feat: ds.mdPattern fct
ESCRI11 Oct 28, 2025
2105be0
Merge pull request #620 from datashield/v6.3.5-dev-feat/testthat-rework
StuartWheater Oct 28, 2025
d206026
Merge branch 'v7.0-dev-feat/performance' into v6.3.5-dev
StuartWheater Oct 29, 2025
e2c190d
Documentation update
StuartWheater Oct 30, 2025
528f8aa
Merge pull request #623 from StuartWheater/v6.3.5-dev
StuartWheater Oct 30, 2025
43d90e4
Changes required for dsBaseClient to be submitted to CRAN
StuartWheater Oct 31, 2025
42a02ca
Merge pull request #621 from ESCRI11/dev-task-14
StuartWheater Nov 2, 2025
80b69f4
Merge branch 'datashield:v6.3.5-dev' into v6.3.5-dev
StuartWheater Nov 3, 2025
73b6d78
Merge pull request #625 from StuartWheater/v6.3.5-dev
StuartWheater Nov 7, 2025
19f82d0
Update of 'rock' & 'rsever' images
StuartWheater Nov 13, 2025
d192759
Updated packages
StuartWheater Nov 13, 2025
f17fd8a
Fixed type
StuartWheater Nov 13, 2025
20c12de
Updated for new responses for 'foobar'
StuartWheater Nov 13, 2025
d33b4c4
Fixed quotes
StuartWheater Nov 14, 2025
366e8c5
Fix to 'ds.mdPattern' document and documentation regeneration
StuartWheater Nov 14, 2025
9694b00
Removed options call setting datashield.errors.print to TRUE, for the…
StuartWheater Nov 14, 2025
3a76f87
Fixes for 'ds.colnames'
StuartWheater Nov 14, 2025
4202a41
Merge pull request #626 from StuartWheater/v6.3.5-dev
StuartWheater Nov 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
^R/secure.global.ranking.md$
^_pkgdown\.yml$
^docs$
^dsBase_6.3.4.tar.gz$
^dsBase_6.3.4-permissive.tar.gz$
^dsBase_6.3.5.tar.gz$
^dsBase_6.3.5-permissive.tar.gz$
^dsDanger_6.3.4.tar.gz$
^\.circleci$
^\.circleci/config\.yml$
Expand Down
6 changes: 1 addition & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dsBaseClient
Title: 'DataSHIELD' Client Side Base Functions
Version: 6.3.4
Version: 6.3.5-9000
Description: Base 'DataSHIELD' functions for the client side. 'DataSHIELD' is a software package which allows
you to do non-disclosive federated analysis on sensitive data. 'DataSHIELD' analytic functions have
been designed to only share non disclosive summary statistics, with built in automated output
Expand Down Expand Up @@ -36,10 +36,6 @@ Authors@R: c(person(given = "Paul",
family = "Avraam",
role = c("aut"),
comment = c(ORCID = "0000-0001-8908-2441")),
person(given = "Demetris",
family = "Avraam",
role = c("aut"),
comment = c(ORCID = "0000-0001-8908-2441")),
person(given = "Yannick",
family = "Marcon",
role = c("aut"),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export(ds.matrixDimnames)
export(ds.matrixInvert)
export(ds.matrixMult)
export(ds.matrixTranspose)
export(ds.mdPattern)
export(ds.mean)
export(ds.meanByClass)
export(ds.meanSdGp)
Expand Down
2 changes: 1 addition & 1 deletion R/ds.asFactor.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#' \code{baseline.level = 1} and \code{forced.factor.levels = c(1,2,3,4,5)}.
#' The input vector is converted to the following matrix of dummy variables:
#'
#' \tabular{rrrrr}{
#' \tabular{rrrr}{
#' \strong{DV2} \tab \strong{DV3} \tab \strong{DV4} \tab \strong{DV5} \cr
#' 0 \tab 0 \tab 0 \tab 0\cr
#' 1 \tab 0 \tab 0 \tab 0\cr
Expand Down
55 changes: 22 additions & 33 deletions R/ds.colnames.R
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
#'
#' @title Produces column names of the R object in the server-side
#' @description Retrieves column names of an R object on the server-side.
#' @description Retrieves column names of an R object on the server-side.
#' This function is similar to R function \code{colnames}.
#' @details The input is restricted to the object of type \code{data.frame} or \code{matrix}.
#'
#' @details The input is restricted to the object of type \code{data.frame} or \code{matrix}.
#'
#' Server function called: \code{colnamesDS}
#' @param x a character string providing the name of the input data frame or matrix.
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}} objects obtained after login.
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}} objects obtained after login.
#' If the \code{datasources} argument is not specified
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
#' @return \code{ds.colnames} returns the column names of
#' the specified server-side data frame or matrix.
#' @return \code{ds.colnames} returns the column names of
#' the specified server-side data frame or matrix.
#' @author DataSHIELD Development Team
#' @seealso \code{\link{ds.dim}} to obtain the dimensions of a matrix or a data frame.
#' @examples
#' @examples
#' \dontrun{
#'
#'
#' ## Version 6, for version 5 see the Wiki
#' # Connecting to the Opal servers
#'
#'
#' require('DSI')
#' require('DSOpal')
#' require('dsBaseClient')
#'
#'
#' builder <- DSI::newDSLoginBuilder()
#' builder$append(server = "study1",
#' url = "http://192.168.56.100:8080/",
#' user = "administrator", password = "datashield_test&",
#' builder$append(server = "study1",
#' url = "http://192.168.56.100:8080/",
#' user = "administrator", password = "datashield_test&",
#' table = "CNSIM.CNSIM1", driver = "OpalDriver")
#' builder$append(server = "study2",
#' url = "http://192.168.56.100:8080/",
#' user = "administrator", password = "datashield_test&",
#' builder$append(server = "study2",
#' url = "http://192.168.56.100:8080/",
#' user = "administrator", password = "datashield_test&",
#' table = "CNSIM.CNSIM2", driver = "OpalDriver")
#' builder$append(server = "study3",
#' url = "http://192.168.56.100:8080/",
#' user = "administrator", password = "datashield_test&",
#' url = "http://192.168.56.100:8080/",
#' user = "administrator", password = "datashield_test&",
#' table = "CNSIM.CNSIM3", driver = "OpalDriver")
#' logindata <- builder$build()
#'
#'
#' # Log onto the remote Opal training servers
#' connections <- DSI::datashield.login(logins = logindata, assign = TRUE, symbol = "D")
#'
#' connections <- DSI::datashield.login(logins = logindata, assign = TRUE, symbol = "D")
#'
#' # Getting column names of the R objects stored in the server-side
#' ds.colnames(x = "D",
#' datasources = connections[1]) #only the first server ("study1") is used
#' # Clear the Datashield R sessions and logout
#' datashield.logout(connections)
#' datashield.logout(connections)
#' }
#' @export
#'
Expand All @@ -65,17 +65,6 @@ ds.colnames <- function(x=NULL, datasources=NULL) {
stop("Please provide the name of a data.frame or matrix!", call.=FALSE)
}

# check if the input object(s) is(are) defined in all the studies
defined <- isDefined(datasources, x)

# call the internal function that checks the input object is of the same class in all studies.
typ <- checkClass(datasources, x)

# if the input object is not a matrix or a dataframe stop
if(!('data.frame' %in% typ) & !('matrix' %in% typ)){
stop("The input vector must be of type 'data.frame' or a 'matrix'!", call.=FALSE)
}

cally <- call("colnamesDS", x)
column_names <- DSI::datashield.aggregate(datasources, cally)

Expand Down
Loading
Loading