Skip to content

Commit 6683ac9

Browse files
Merge pull request datashield#585 from datashield/master
Update to 6.3.2
2 parents 6e61d15 + 56847e7 commit 6683ac9

418 files changed

Lines changed: 1215 additions & 1078 deletions

File tree

Some content is hidden

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

.Rbuildignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
^R/secure.global.ranking.md$
1818
^_pkgdown\.yml$
1919
^docs$
20-
^dsBase_6.3.1.tar.gz$
21-
^dsBase_6.3.1-permissive.tar.gz$
20+
^dsBase_6.3.2.tar.gz$
21+
^dsBase_6.3.2-permissive.tar.gz$
2222
^dsDanger_6.3.1.tar.gz$
2323
^\.circleci$
2424
^\.circleci/config\.yml$

.circleci/config.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ version: 2.1
55
jobs:
66
dsbaseclient:
77
docker:
8-
- image: cimg/base:current
8+
# - image: cimg/base:current
9+
- image: cimg/base:2024.11
910
resource_class: small
1011
steps:
1112
- checkout
@@ -18,6 +19,10 @@ jobs:
1819
echo " Tag: " $CIRCLE_TAG
1920
- run:
2021
command: |
22+
sudo apt-get install --no-install-recommends software-properties-common dirmngr
23+
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
24+
sudo add-apt-repository -y "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
25+
2126
sudo apt-get update -y
2227
sudo apt-get install -y r-base-core cmake
2328
- run:
@@ -33,6 +38,9 @@ jobs:
3338
sudo apt-get install -y libjpeg-dev
3439
- run:
3540
command: |
41+
sudo Rscript -e "install.packages('devtools', dependencies=TRUE)"
42+
sudo Rscript -e "install.packages('covr', dependencies=TRUE)"
43+
3644
sudo Rscript -e "install.packages('fields', dependencies=TRUE)"
3745
sudo Rscript -e "install.packages('metafor', dependencies=TRUE)"
3846
sudo Rscript -e "install.packages('meta', dependencies=TRUE)"
@@ -42,6 +50,15 @@ jobs:
4250
sudo Rscript -e "install.packages('panelaggregation', dependencies=TRUE)"
4351
sudo Rscript -e "install.packages('methods', dependencies=TRUE)"
4452
sudo Rscript -e "install.packages('dplyr', dependencies=TRUE)"
53+
54+
sudo Rscript -e "install.packages('DSI', dependencies=TRUE)"
55+
sudo Rscript -e "install.packages('DSOpal', dependencies=TRUE)"
56+
sudo Rscript -e "install.packages('DSLite', dependencies=TRUE)"
57+
sudo Rscript -e "install.packages('MolgenisAuth', dependencies=TRUE)"
58+
sudo Rscript -e "install.packages('MolgenisArmadillo', dependencies=TRUE)"
59+
sudo Rscript -e "install.packages('DSMolgenisArmadillo', dependencies=TRUE)"
60+
sudo Rscript -e "install.packages('DescTools', dependencies=TRUE)"
61+
sudo Rscript -e "install.packages('e1071', dependencies=TRUE)"
4562
- run:
4663
command: |
4764
sudo Rscript -e 'library(covr); covr::codecov(token = "'$CODECOV_TOKEN'", quiet=FALSE)'

DESCRIPTION

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,42 @@
11
Package: dsBaseClient
22
Title: DataSHIELD Client Functions
3-
Version: 6.3.1
4-
Author: DataSHIELD Developers <datashield@liverpool.ac.uk>
5-
Maintainer: DataSHIELD Developers <datashield@liverpool.ac.uk>
3+
Version: 6.3.2
4+
Authors@R: c(person(given = "Paul",
5+
family = "Burton",
6+
role = c("aut")),
7+
person(given = "Rebecca",
8+
family = "Wilson",
9+
role = c("aut")),
10+
person(given = "Olly",
11+
family = "Butters",
12+
role = c("aut")),
13+
person(given = "Patricia",
14+
family = "Ryser-Welch",
15+
role = c("aut")),
16+
person(given = "Alex",
17+
family = "Westerberg",
18+
role = c("aut")),
19+
person(given = "Leire",
20+
family = "Abarrategui",
21+
role = c("aut")),
22+
person(given = "Roberto",
23+
family = "Villegas-Diaz",
24+
role = c("aut"),
25+
comment = c(ORCID = "0000-0001-5036-8661")),
26+
person(given = "Demetris",
27+
family = "Avraam",
28+
role = c("aut"),
29+
comment = c(ORCID = "0000-0001-8908-2441")),
30+
person(given = "Yannick",
31+
family = "Marcon",
32+
role = c("aut"),
33+
email = "yannick.marcon@obiba.org",
34+
comment = c(ORCID = "0000-0003-0138-2023")),
35+
person(given = "Stuart",
36+
family = "Wheater",
37+
role = c("aut", "cre"),
38+
email = "stuart.wheater@arjuna.com",
39+
comment = c(ORCID = "0009-0003-2419-1964")))
640
Description: DataSHIELD client functions for the client side.
741
License: GPL-3
842
Depends:
@@ -19,6 +53,14 @@ Imports:
1953
methods,
2054
dplyr
2155
Suggests:
22-
testthat
56+
lme4,
57+
httr,
58+
tibble,
59+
testthat,
60+
e1071,
61+
DescTools,
62+
DSOpal,
63+
DSMolgenisArmadillo,
64+
DSLite
2365
RoxygenNote: 7.3.2
2466
Encoding: UTF-8

R/checkClass.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#' @description This is an internal function.
44
#' @details In DataSHIELD an object included in analysis must be of the same type in all
55
#' the collaborating studies. If that is not the case the process is stopped
6-
#' @param datasources a list of \code{\link{DSConnection-class}} objects obtained after login. If the <datasources>
7-
#' the default set of connections will be used: see \link{datashield.connections_default}.
6+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}} objects obtained after login. If the <datasources>
7+
#' the default set of connections will be used: see \link[DSI]{datashield.connections_default}.
88
#' @param obj a string character, the name of the object to check for.
99
#' @keywords internal
1010
#' @return a message or the class of the object if the object has the same class in all studies.

R/ds.Boole.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#' Default \code{'NA'}. For more information see details.
3535
#' @param newobj a character string that provides the name for the output
3636
#' object that is stored on the data servers. Default \code{boole.newobj}.
37-
#' @param datasources a list of \code{\link{DSConnection-class}}
37+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}}
3838
#' objects obtained after login. If the \code{datasources} argument is not specified
39-
#' the default set of connections will be used: see \code{\link{datashield.connections_default}}.
39+
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
4040
#' @return \code{ds.Boole} returns the object specified by the \code{newobj} argument
4141
#' which is written to the server-side. Also, two validity messages are returned
4242
#' to the client-side indicating the name of the \code{newobj} which

R/ds.abs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
#' @param x a character string providing the name of a numeric or an integer vector.
1111
#' @param newobj a character string that provides the name for the output variable
1212
#' that is stored on the data servers. Default name is set to \code{abs.newobj}.
13-
#' @param datasources a list of \code{\link{DSConnection-class}} objects obtained after login.
13+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}} objects obtained after login.
1414
#' If the \code{datasources} argument is not specified the default set of connections will be
15-
#' used: see \code{\link{datashield.connections_default}}.
15+
#' used: see \code{\link[DSI]{datashield.connections_default}}.
1616
#' @return \code{ds.abs} assigns a vector for each study that includes the absolute values of
1717
#' the input numeric or integer vector specified in the argument \code{x}. The created vectors
1818
#' are stored in the servers.

R/ds.asCharacter.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#' character.
1010
#' @param newobj a character string that provides the name for the output object
1111
#' that is stored on the data servers. Default \code{ascharacter.newobj}.
12-
#' @param datasources a list of \code{\link{DSConnection-class}}
12+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}}
1313
#' objects obtained after login. If the \code{datasources} argument is not specified
14-
#' the default set of connections will be used: see \code{\link{datashield.connections_default}}.
14+
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
1515
#' @return \code{ds.asCharacter} returns the object converted into a class character
1616
#' that is written to the server-side. Also, two validity messages are returned to the client-side
1717
#' indicating the name of the \code{newobj} which has been created in each data source and if

R/ds.asDataMatrix.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#' a matrix.
99
#' @param newobj a character string that provides the name for the output object
1010
#' that is stored on the data servers. Default \code{asdatamatrix.newobj}.
11-
#' @param datasources a list of \code{\link{DSConnection-class}}
11+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}}
1212
#' objects obtained after login. If the \code{datasources} argument is not specified
13-
#' the default set of connections will be used: see \code{\link{datashield.connections_default}}.
13+
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
1414
#' @return \code{ds.asDataMatrix} returns the object converted into a matrix
1515
#' that is written to the server-side. Also, two validity messages are returned
1616
#' to the client-side

R/ds.asFactor.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@
130130
#' to be used in the creation of the matrix with dummy variables.
131131
#' If the \code{fixed.dummy.vars} is set to FALSE then any value of the baseline level is not taken
132132
#' into account.
133-
#' @param datasources a list of \code{\link{DSConnection-class}} objects obtained after login.
133+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}} objects obtained after login.
134134
#' If the \code{datasources} argument is not specified
135-
#' the default set of connections will be used: see \code{\link{datashield.connections_default}}.
135+
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
136136
#' @return \code{ds.asFactor} returns the unique levels of the converted
137137
#' variable in ascending order and a validity
138138
#' message with the name of the created object on the client-side and

R/ds.asFactorSimple.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#' the name of the variable to be converted to a factor.
1515
#' @param newobj.name a character string that provides the name for the output variable
1616
#' that is stored on the data servers. Default \code{asfactor.newobj}.
17-
#' @param datasources a list of \code{\link{DSConnection-class}} objects obtained after login.
17+
#' @param datasources a list of \code{\link[DSI]{DSConnection-class}} objects obtained after login.
1818
#' If the \code{datasources} argument is not specified
19-
#' the default set of connections will be used: see \code{\link{datashield.connections_default}}.
19+
#' the default set of connections will be used: see \code{\link[DSI]{datashield.connections_default}}.
2020
#' @return an output vector of class factor to the serverside. In addition, returns a validity
2121
#' message with the name of the created object on the client-side and if creation fails an
2222
#' error message which can be viewed using datashield.errors().
@@ -109,4 +109,4 @@ return(list(return.info=return.info,return.message=return.message)) #
109109

110110

111111
}
112-
#ds.asFactorSimple
112+
#ds.asFactorSimple

0 commit comments

Comments
 (0)