Skip to content

Commit 6e61d15

Browse files
Merge pull request datashield#556 from datashield/v6.3.1-dev
6.3.1 release
2 parents 92e2d59 + c071a6b commit 6e61d15

212 files changed

Lines changed: 11183 additions & 9576 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: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@
33
^\.Rproj\.user$
44
^LICENSE.md$
55
^azure-pipelines\.yml$
6+
^opal_azure-pipelines\.yml$
7+
^armadillo_azure-pipelines\.yml$
68
^azure-pipelines_site\.pp$
79
^azure-pipelines_site-dsdanger\.pp$
810
^azure-pipelines_check\.Rout$
911
^azure-pipelines_test\.Rout$
12+
^tests/docker/armadillo/standard/log/.gitkeep$
1013
^checkDocumentationUpdated\.sh$
1114
^docker-compose_armadillo\.yml$
1215
^docker-compose_opal\.yml$
1316
^docker-compose\.yml$
1417
^R/secure.global.ranking.md$
1518
^_pkgdown\.yml$
1619
^docs$
17-
^dsBase_6.3.0.tar.gz$
18-
^dsBase_6.3.0-permissive.tar.gz$
19-
^dsDanger_6.3.0.tar.gz$
20+
^dsBase_6.3.1.tar.gz$
21+
^dsBase_6.3.1-permissive.tar.gz$
22+
^dsDanger_6.3.1.tar.gz$
23+
^\.circleci$
24+
^\.circleci/config\.yml$

.circleci/config.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright (c) 2024 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
2+
3+
version: 2.1
4+
5+
jobs:
6+
dsbaseclient:
7+
docker:
8+
- image: cimg/base:current
9+
resource_class: small
10+
steps:
11+
- checkout
12+
- setup_remote_docker:
13+
docker_layout_caching: true
14+
- run: |
15+
echo "Building"
16+
echo " Repo Name: " $CIRCLE_PROJECT_REPONAME
17+
echo " Branch: " $CIRCLE_BRANCH
18+
echo " Tag: " $CIRCLE_TAG
19+
- run:
20+
command: |
21+
sudo apt-get update -y
22+
sudo apt-get install -y r-base-core cmake
23+
- run:
24+
command: |
25+
sudo apt-get install -y libxml2-dev
26+
sudo apt-get install -y libfontconfig1-dev
27+
sudo apt-get install -y libudunits2-dev
28+
sudo apt-get install -y libharfbuzz-dev
29+
sudo apt-get install -y libfribidi-dev
30+
sudo apt-get install -y libfreetype6-dev
31+
sudo apt-get install -y libpng-dev
32+
sudo apt-get install -y libtiff5-dev
33+
sudo apt-get install -y libjpeg-dev
34+
- run:
35+
command: |
36+
sudo Rscript -e "install.packages('fields', dependencies=TRUE)"
37+
sudo Rscript -e "install.packages('metafor', dependencies=TRUE)"
38+
sudo Rscript -e "install.packages('meta', dependencies=TRUE)"
39+
sudo Rscript -e "install.packages('ggplot2', dependencies=TRUE)"
40+
sudo Rscript -e "install.packages('gridExtra', dependencies=TRUE)"
41+
sudo Rscript -e "install.packages('data.table', dependencies=TRUE)"
42+
sudo Rscript -e "install.packages('panelaggregation', dependencies=TRUE)"
43+
sudo Rscript -e "install.packages('methods', dependencies=TRUE)"
44+
sudo Rscript -e "install.packages('dplyr', dependencies=TRUE)"
45+
- run:
46+
command: |
47+
sudo Rscript -e 'library(covr); covr::codecov(token = "'$CODECOV_TOKEN'", quiet=FALSE)'
48+
workflows:
49+
build:
50+
jobs:
51+
- dsbaseclient

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
inst/tests/test-template.R
1111
azure-pipelines.Rout
1212
tests/testthat/connection_to_datasets/local_settings.csv
13+
tests/docker/armadillo/standard/logs/
14+
tests/docker/armadillo/standard/data/

DESCRIPTION

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Package: dsBaseClient
22
Title: DataSHIELD Client Functions
3-
Version: 6.3.0
3+
Version: 6.3.1
44
Author: DataSHIELD Developers <datashield@liverpool.ac.uk>
55
Maintainer: DataSHIELD Developers <datashield@liverpool.ac.uk>
66
Description: DataSHIELD client functions for the client side.
77
License: GPL-3
88
Depends:
9-
R (>= 3.5.0),
10-
DSI (>= 1.3.0)
9+
R (>= 4.0.0),
10+
DSI (>= 1.7.1)
1111
Imports:
1212
fields,
1313
metafor,
@@ -18,5 +18,7 @@ Imports:
1818
panelaggregation,
1919
methods,
2020
dplyr
21-
RoxygenNote: 7.2.3
21+
Suggests:
22+
testthat
23+
RoxygenNote: 7.3.2
2224
Encoding: UTF-8

R/ds.glm.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#'
4747
#' In the \code{family} argument can be specified three types of models to fit:
4848
#'
49-
#' \itemize{
49+
#' \describe{
5050
#' \item{\code{"gaussian"}}{: conventional linear model with normally distributed errors}
5151
#' \item{\code{"binomial"}}{: conventional unconditional logistic regression model}
5252
#' \item{\code{"poisson"}}{: Poisson regression model which is the most used in survival analysis.
@@ -63,7 +63,7 @@
6363
#' The \code{data} argument avoids you having to specify the name of the
6464
#' data frame in front of each covariate in the formula.
6565
#' For example, if the data frame is called \code{DataFrame} you
66-
#' avoid having to write: \eqn{DataFrame$y~DataFrame$a+DataFrame$b+DataFrame$c+DataFrame$d}
66+
#' avoid having to write: \eqn{DataFrame\$y ~ DataFrame\$a + DataFrame\$b + DataFrame\$c + DataFrame\$d}
6767
#'
6868
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
6969
#' on the server-side at every study
@@ -190,7 +190,7 @@
190190
#' @return \code{family}: error family and link function.
191191
#' @return \code{formula}: model formula, see description of formula as an input parameter (above).
192192
#' @return \code{coefficients}: a matrix with 5 columns:
193-
#' \itemize{
193+
#' \describe{
194194
#' \item{First}{: the names of all of the regression parameters (coefficients) in the model}
195195
#' \item{second}{: the estimated values}
196196
#' \item{third}{: corresponding standard errors of the estimated values}

R/ds.glmSLMA.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
#' relatively widely.
9292
#'
9393
#' The standard models include:
94-
#' \itemize{
94+
#' \describe{
9595
#' \item{\code{"gaussian"}}{: conventional linear model with normally distributed errors}
9696
#' \item{\code{"binomial"}}{: conventional unconditional logistic regression model}
9797
#' \item{\code{"poisson"}}{: Poisson regression model which is often used in epidemiological
@@ -134,7 +134,7 @@
134134
#' The \code{dataName} argument avoids you having to specify the name of the
135135
#' data frame in front of each covariate in the formula.
136136
#' For example, if the data frame is called \code{DataFrame} you
137-
#' avoid having to write: \eqn{DataFrame$y~DataFrame$a+DataFrame$b+DataFrame$c+DataFrame$d}
137+
#' avoid having to write: \eqn{DataFrame\$y ~ DataFrame\$a + DataFrame\$b + DataFrame\$c + DataFrame\$d}
138138
#'
139139
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
140140
#' on the server-site at every study
@@ -199,7 +199,7 @@
199199
#' a series of other list objects that represent inferences aggregated across studies.
200200
#' @return the study specific items include:
201201
#' @return \code{coefficients}: a matrix with 5 columns:
202-
#' \itemize{
202+
#' \describe{
203203
#' \item{First}{: the names of all of the regression parameters (coefficients) in the model}
204204
#' \item{second}{: the estimated values}
205205
#' \item{third}{: corresponding standard errors of the estimated values}

R/ds.glmerSLMA.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#' The \code{dataName} argument avoids you having to specify the name of the
3535
#' data frame in front of each covariate in the formula.
3636
#' For example, if the data frame is called \code{DataFrame} you avoid having to write:
37-
#' \eqn{DataFrame$y~DataFrame$a+DataFrame$b+(1|DataFrame$c)}.
37+
#' \eqn{DataFrame\$y ~ DataFrame\$a + DataFrame\$b + (1 | DataFrame\$c)}.
3838
#'
3939
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
4040
#' on the server-site at every study
@@ -44,7 +44,7 @@
4444
#'
4545
#'
4646
#' In the \code{family} argument can be specified two types of models to fit:
47-
#' \itemize{
47+
#' \describe{
4848
#' \item{\code{"binomial"}}{: logistic regression models}
4949
#' \item{\code{"poisson"}}{: poisson regression models}
5050
#' }
@@ -133,7 +133,7 @@
133133
#' The list of elements returned by \code{ds.glmerSLMA} is mentioned below:
134134
#'
135135
#' @return \code{coefficients}: a matrix with 5 columns:
136-
#' \itemize{
136+
#' \describe{
137137
#' \item{First}{: the names of all of the regression parameters (coefficients) in the model}
138138
#' \item{second}{: the estimated values}
139139
#' \item{third}{: corresponding standard errors of the estimated values}

R/ds.heatmapPlot.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
#' minimum and maximum value. This was done to reduce the risk of potential disclosure.
1212
#'
1313
#' In the argument \code{type} can be specified two types of graphics to display:
14-
#' \itemize{
14+
#' \describe{
1515
#' \item{\code{'combine'}}{: a combined heat map plot is displayed}
1616
#' \item{\code{'split'}}{: each heat map is plotted separately}
1717
#' }
1818
#'
1919
#' In the argument \code{show} can be specified two options:
20-
#' \itemize{
20+
#' \describe{
2121
#' \item{\code{'all'}}{: the ranges of the variables are used as plot limits}
2222
#' \item{\code{'zoomed'}}{: the plot is zoomed to the region where the actual data are}
2323
#' }
2424
#'
2525
#' In the argument \code{method} can be specified 3 different heat map to be created:
26-
#' \itemize{
26+
#' \describe{
2727
#' \item{\code{'smallCellsRule'}}{: the heat map of the actual variables is
2828
#' created but grids with low counts are replaced with grids with zero counts}
2929
#' \item{\code{'deterministic'}}{: the heat map of the scaled centroids of each

R/ds.histogram.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
#' the single plots.
77
#'
88
#' In the argument \code{type} can be specified two types of graphics to display:
9-
#' \itemize{
9+
#' \describe{
1010
#' \item{\code{'combine'}}{: a histogram that merges the single plot is displayed.}
1111
#' \item{\code{'split'}}{: each histogram is plotted separately.}
1212
#' }
1313
#'
1414
#' In the argument \code{method} can be specified 3 different histograms to be created:
15-
#' \itemize{
15+
#' \describe{
1616
#' \item{\code{'smallCellsRule'}}{: the histogram of the actual variable is
1717
#' created but bins with low counts are removed.}
1818
#' \item{\code{'deterministic'}}{: the histogram of the scaled centroids of each
@@ -48,7 +48,7 @@
4848
#' By default the value of noise is set to be equal to 0.25.
4949
#'
5050
#' In the argument \code{vertical.axis} can be specified two types of histograms:
51-
#' \itemize{
51+
#' \describe{
5252
#' \item{\code{'Frequency'}}{: the histogram of the frequencies
5353
#' is returned.}
5454
#' \item{\code{'Density'}}{: the histogram of the densities

R/ds.lmerSLMA.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
#'
1919
#' In \code{formula} most shortcut notation allowed by \code{lmer()} function is
2020
#' also allowed by \code{ds.lmerSLMA}. Many LMEs can be fitted very simply using a formula like:
21-
#' \deqn{y~a+b+(1|c)}
21+
#' \deqn{y ~ a + b + (1 | c)}
2222
#' which simply means fit an LME with \code{y} as the outcome variable with \code{a} and \code{b}
2323
#' as fixed effects, and \code{c} as a random effect or grouping factor.
2424
#'
2525
#' It is also possible to fit models with random slopes by specifying a model such as
26-
#' \deqn{y~a+b+(1+b|c)}
26+
#' \deqn{y ~ a + b + (1 + b | c)}
2727
#' where the effect of \code{b} can vary randomly between groups defined by \code{c}.
28-
#' Implicit nesting can be specified with formulae such as \eqn{y~a+b+(1|c/d)}
29-
#' or \eqn{y~a+b+(1|c)+(1|c:d)}.
28+
#' Implicit nesting can be specified with formulae such as \eqn{y ~ a + b + (1 | c / d)}
29+
#' or \eqn{y ~ a + b + (1 | c) + (1 | c : d)}.
3030
#'
3131
#' The \code{dataName} argument avoids you having to specify the name of the
3232
#' data frame in front of each covariate in the formula.
3333
#' For example, if the data frame is called \code{DataFrame} you avoid having to write:
34-
#' \eqn{DataFrame$y~DataFrame$a+DataFrame$b+(1|DataFrame$c)}.
34+
#' \eqn{DataFrame\$y ~ DataFrame\$a + DataFrame\$b + (1 | DataFrame\$c)}.
3535
#'
3636
#' The \code{checks} argument verifies that the variables in the model are all defined (exist)
3737
#' on the server-site at every study
@@ -124,7 +124,7 @@
124124
#' @return \code{ds.lmerSLMA} returns a list of elements mentioned
125125
#' below separately for each study.
126126
#' @return \code{coefficients}: a matrix with 5 columns:
127-
#' \itemize{
127+
#' \describe{
128128
#' \item{First}{: the names of all of the regression parameters (coefficients) in the model}
129129
#' \item{second}{: the estimated values}
130130
#' \item{third}{: corresponding standard errors of the estimated values}
@@ -192,7 +192,7 @@
192192
#'
193193
#' # Fit the lmer
194194
#'
195-
#' ds.lmerSLMA(formula = "BMI ~ incid_rate + diabetes + (1 | Male)",
195+
#' ds.lmerSLMA(formula = "BMI ~ incid_rate + diabetes + (1 | Male)",
196196
#' dataName = "D.comp",
197197
#' datasources = connections)
198198
#'

0 commit comments

Comments
 (0)