Skip to content

Commit 6690502

Browse files
Merge pull request #363 from datashield/v6.3.1-RC5-dev
Last RC5 Updates
2 parents 5e01ab6 + 517ba9d commit 6690502

160 files changed

Lines changed: 2713 additions & 2762 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
^data$
88
^docs$
99
^pkgdown$
10+
^\.circleci$
11+
^\.circleci/config\.yml$

.circleci/config.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright (c) 2024 Arjuna Technologies, Newcastle upon Tyne. All rights reserved.
2+
3+
version: 2.1
4+
5+
jobs:
6+
dsbase:
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+
- run:
27+
command: |
28+
sudo Rscript -e "install.packages('RANN', dependencies=TRUE)"
29+
sudo Rscript -e "install.packages('stringr', dependencies=TRUE)"
30+
sudo Rscript -e "install.packages('lme4', dependencies=TRUE)"
31+
sudo Rscript -e "install.packages('dplyr', dependencies=TRUE)"
32+
sudo Rscript -e "install.packages('reshape2', dependencies=TRUE)"
33+
sudo Rscript -e "install.packages('polycor', dependencies=TRUE)"
34+
sudo Rscript -e "install.packages('splines', dependencies=TRUE)"
35+
sudo Rscript -e "install.packages('gamlss', dependencies=TRUE)"
36+
sudo Rscript -e "install.packages('gamlss.dist', dependencies=TRUE)"
37+
sudo Rscript -e "install.packages('mice', dependencies=TRUE)"
38+
sudo Rscript -e "install.packages('childsds', dependencies=TRUE)"
39+
sudo Rscript -e "install.packages('xml2', dependencies=TRUE)"
40+
sudo Rscript -e "install.packages('covr', dependencies=TRUE)"
41+
sudo Rscript -e "install.packages('devtools', dependencies=TRUE)"
42+
sudo Rscript -e "install.packages('DSI', dependencies=TRUE)"
43+
sudo Rscript -e "install.packages('DSLite', dependencies=TRUE)"
44+
- run:
45+
command: |
46+
sudo Rscript -e 'library(covr); covr::codecov(token = "'$CODECOV_TOKEN'")'
47+
workflows:
48+
build:
49+
jobs:
50+
- dsbase

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Package: dsBase
2-
Title: DataSHIELD server site base functions
3-
Description: DataSHIELD server site base functions.
4-
Version: 6.3.1.9000
2+
Title: DataSHIELD Server Site Base Functions
3+
Description: DataSHIELD Server Site Base Functions.
4+
Version: 6.3.1
55
Author: DataSHIELD Developers <datashield@liverpool.ac.uk>
66
Maintainer: DataSHIELD Developers <datashield@liverpool.ac.uk>
77
License: GPL-3
88
Depends:
9-
R (>= 3.5.0)
9+
R (>= 4.0.0)
1010
Imports:
1111
RANN,
1212
stringr,

R/cDS.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cDS <- function (objs) {
2828

2929
# check if the output is valid and output accordingly
3030
if(length(x) < nfilter.tab){
31-
if(length(x == 0)){
31+
if(length(x) == 0){
3232
x <- c()
3333
}else{
3434
x <- rep(NA, length(x))

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,14 @@ dsBase
33

44
DataSHIELD server side base R library.
55

6-
7-
8-
| Branch | dsBase status | dsBaseClient status | dsBaseClient tests |
9-
| -------- | ------------ | ------------------- | ------------------ |
10-
| Master | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBase?branchName=master)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=3&branchName=master) | | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBaseClient?branchName=master)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=1&branchName=master) | [Tests](https://datashield.github.io/testStatus/dsBaseClient/master/latest/) |
11-
| 6.2.0 | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBase?branchName=6.2.0)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=3&branchName=6.2.0) | [Tests](https://datashield.github.io/testStatus/dsBase/6.2.0/latest/) | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBaseClient?branchName=6.2.0)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=1&branchName=6.2.0) | [Tests](https://datashield.github.io/testStatus/dsBaseClient/6.2.0/latest/) |
12-
| 6.3.0 | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBase?branchName=6.3.0)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=3&branchName=6.3.0) | [Tests](https://datashield.github.io/testStatus/dsBase/6.3.0/latest/) | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBaseClient?branchName=6.3.0)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=1&branchName=6.3.0) | [Tests](https://datashield.github.io/testStatus/dsBaseClient/6.3.0/latest/) |
13-
| 6.3.1-dev | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBase?branchName=v6.3.1-dev)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=3&branchName=v6.3.1-dev) | [Tests](https://datashield.github.io/testStatus/dsBase/v6.3.1-dev/latest/) | [![Build Status](https://dev.azure.com/datashield-testing/datashield/_apis/build/status/datashield.dsBaseClient?branchName=v6.3.1-dev)](https://dev.azure.com/datashield-testing/datashield/_build/latest?definitionId=1&branchName=v6.3.1-dev) | [Tests](https://datashield.github.io/testStatus/dsBaseClient/v6.3.1-dev/latest/) |
14-
15-
16-
176
[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
187

19-
20-
21-
228
About
239
=====
2410

2511
DataSHIELD is a software package which allows you to do non-disclosive federated analysis on sensitive data. Our website (https://www.datashield.org) has in depth descriptions of what it is, how it works and how to install it. A key point to highlight is that DataSHIELD has a client-server infrastructure, so the dsBase package (https://github.com/datashield/dsBase) needs to be used in conjuction with the dsBaseClient package (https://github.com/datashield/dsBaseClient) - trying to use one without the other makes no sense.
2612

27-
Detailed instructions on how to install DataSHIELD are at https://www.datashield.org/wiki. The code here is organised as:
13+
Detailed instructions on how to install DataSHIELD are at https://wiki.datashield.org/. The code here is organised as:
2814

2915

3016
| Location | What is it? |

azure-pipelines.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ schedules:
5050
branches:
5151
include:
5252
- master
53-
- 6.2.0
5453
- 6.3.0
5554
always: true
5655
- cron: "0 1 * * *"
@@ -62,9 +61,9 @@ schedules:
6261

6362
jobs:
6463
- job: run_devtools_check
65-
timeoutInMinutes: 90
64+
timeoutInMinutes: 120
6665
pool:
67-
vmImage: ubuntu-latest
66+
vmImage: ubuntu-24.04
6867

6968

7069
steps:
@@ -97,13 +96,15 @@ jobs:
9796
# Install R and all the dependencies dsBase requires.
9897
# If previous steps have failed then don't run.
9998
- bash: |
99+
sudo apt-get install --no-install-recommends software-properties-common dirmngr
100+
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
101+
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
102+
sudo apt-get update -qq
103+
sudo apt-get upgrade -qq
100104
101-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
102-
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
103-
sudo add-apt-repository ppa:cran/libgit2
104-
sudo apt-get update
105105
sudo apt-get install -qq pkg-config -y
106-
sudo apt-get install -qq libxml2-dev libcurl4-openssl-dev libssl-dev libgit2-dev libharfbuzz-dev libfribidi-dev -y
106+
sudo apt-get install -qq libxml2-dev libcurl4-openssl-dev libssl-dev libgit2-dev libharfbuzz-dev libfribidi-dev libfontconfig1-dev -y
107+
sudo apt-get install -qq libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev -y
107108
sudo apt-get install -qq r-base -y
108109
sudo R -e "install.packages('devtools', dependencies=TRUE)"
109110
sudo R -e "install.packages('RANN', dependencies=TRUE)"
@@ -160,7 +161,7 @@ jobs:
160161
# If this step fails still mark as failed, but don't stop the rest of the steps running.
161162
- bash: |
162163
163-
R -q -e "library('devtools'); devtools::check(args = c('--no-examples'))" | tee azure-pipelines_check.Rout
164+
R -q -e "library('devtools'); devtools::check(args = c('--no-tests', '--no-examples'))" | tee azure-pipelines_check.Rout
164165
grep --quiet "^0 errors" azure-pipelines_check.Rout && grep --quiet " 0 warnings" azure-pipelines_check.Rout && grep --quiet " 0 notes" azure-pipelines_check.Rout
165166
166167
workingDirectory: $(Pipeline.Workspace)/dsBase
@@ -178,7 +179,7 @@ jobs:
178179
- bash: |
179180
180181
# Any of the below makes the tests work.
181-
sudo R --verbose -e 'devtools::check()'
182+
sudo R --verbose -e 'devtools::reload()'
182183
183184
pwd
184185
mkdir $(Pipeline.Workspace)/logs

docs/404.html

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)