From 83cf89ef7431ecf2d948050284b1bbc29ea8a232 Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Wed, 17 Sep 2025 15:38:15 +0100 Subject: [PATCH 1/5] Addition of noLD note --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c6a1ad5f..eed7c5ed 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,13 @@ Detailed instructions on how to install DataSHIELD are at https://wiki.datashiel Strandberg-Larsen K, Swertz M, Welten M, Wheater S, Burton P (2024). “DataSHIELD: mitigating disclosure risk in a multi-site federated analysis platform.” _Bioinformatics Advances_, *5*(1), 1-21. . + +> **_Note:_** Apple Mx architecture users, please be aware that there are some numerical limitations on this platform, which leads to unexpected results when using base R packages, li> +> +> x <- c(0, 3, 7) +> +> 1 - cor(x, x)​ +> +> The above should result in a value of zero. +> +> _Also See:_ For more details see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f and the bug report: https://bugs.r-project.org/sh> From 1142804c5fdf9ec42651659ee74e9e6c47fd2a60 Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Wed, 17 Sep 2025 16:08:19 +0100 Subject: [PATCH 2/5] Update for noLD note --- docs/index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/index.html b/docs/index.html index 68b18fc6..22d4d09c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -113,6 +113,13 @@

Referenceshttps://doi.org/10.1093/ije/dyu188.

[3] Wilson R, W. Butters O, Avraam D, Baker J, Tedds J, Turner A, Murtagh M, R. Burton P (2017). “DataSHIELD – New Directions and Dimensions.” Data Science Journal, 16(21), 1-21. https://doi.org/10.5334/dsj-2017-021.

[4] Avraam D, Wilson R, Aguirre Chan N, Banerjee S, Bishop T, Butters O, Cadman T, Cederkvist L, Duijts L, Escribà Montagut X, Garner H, Gonçalves G, González J, Haakma S, Hartlev M, Hasenauer J, Huth M, Hyde E, Jaddoe V, Marcon Y, Mayrhofer M, Molnar-Gabor F, Morgan A, Murtagh M, Nestor M, Nybo Andersen A, Parker S, Pinot de Moira A, Schwarz F, Strandberg-Larsen K, Swertz M, Welten M, Wheater S, Burton P (2024). “DataSHIELD: mitigating disclosure risk in a multi-site federated analysis platform.” Bioinformatics Advances, 5(1), 1-21. https://doi.org/10.1093/bioadv/vbaf046.

+
+

Note: Apple Mx architecture users, please be aware that there are some numerical limitations on this platform, which leads to unexpected results when using base R packages, li>

+

x <- c(0, 3, 7)

+

1 - cor(x, x)​

+

The above should result in a value of zero.

+

Also See: For more details see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f and the bug report: https://bugs.r-project.org/sh>

+
From c88dfc5712aad755ab7920eba662a3df8f7f618b Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Wed, 17 Sep 2025 16:19:19 +0100 Subject: [PATCH 3/5] Docs update --- docs/pkgdown.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 35b3f72f..45989012 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,4 +2,4 @@ pandoc: 3.1.3 pkgdown: 2.1.3 pkgdown_sha: ~ articles: {} -last_built: 2025-08-28T18:48Z +last_built: 2025-09-17T15:04Z From b78506b4a2301adbc6720664bef75e1ff22257ca Mon Sep 17 00:00:00 2001 From: Roberto Villegas-Diaz Date: Wed, 17 Sep 2025 17:18:09 +0100 Subject: [PATCH 4/5] Update README.md Add missing text for note on numeric precision for Apple Mx architecture --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eed7c5ed..bf9c1ada 100644 --- a/README.md +++ b/README.md @@ -70,12 +70,12 @@ Detailed instructions on how to install DataSHIELD are at https://wiki.datashiel mitigating disclosure risk in a multi-site federated analysis platform.” _Bioinformatics Advances_, *5*(1), 1-21. . -> **_Note:_** Apple Mx architecture users, please be aware that there are some numerical limitations on this platform, which leads to unexpected results when using base R packages, li> -> +> **_Note:_** Apple Mx architecture users, please be aware that there are some numerical limitations on this platform, which leads to unexpected results when using base R packages, like stats​. +> > x <- c(0, 3, 7) > > 1 - cor(x, x)​ > > The above should result in a value of zero. > -> _Also See:_ For more details see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f and the bug report: https://bugs.r-project.org/sh> +> _Also See:_ For more details see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f and the bug report: https://bugs.r-project.org/show_bug.cgi?id=18941 From 0994f7c0b5c3b3b6dcc1214ade157e69f50737db Mon Sep 17 00:00:00 2001 From: Roberto Villegas-Diaz Date: Wed, 17 Sep 2025 17:20:22 +0100 Subject: [PATCH 5/5] Update index.html --- docs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 22d4d09c..0afa2dfa 100644 --- a/docs/index.html +++ b/docs/index.html @@ -114,11 +114,11 @@

Referenceshttps://doi.org/10.5334/dsj-2017-021.

[4] Avraam D, Wilson R, Aguirre Chan N, Banerjee S, Bishop T, Butters O, Cadman T, Cederkvist L, Duijts L, Escribà Montagut X, Garner H, Gonçalves G, González J, Haakma S, Hartlev M, Hasenauer J, Huth M, Hyde E, Jaddoe V, Marcon Y, Mayrhofer M, Molnar-Gabor F, Morgan A, Murtagh M, Nestor M, Nybo Andersen A, Parker S, Pinot de Moira A, Schwarz F, Strandberg-Larsen K, Swertz M, Welten M, Wheater S, Burton P (2024). “DataSHIELD: mitigating disclosure risk in a multi-site federated analysis platform.” Bioinformatics Advances, 5(1), 1-21. https://doi.org/10.1093/bioadv/vbaf046.

-

Note: Apple Mx architecture users, please be aware that there are some numerical limitations on this platform, which leads to unexpected results when using base R packages, li>

+

Note: Apple Mx architecture users, please be aware that there are some numerical limitations on this platform, which leads to unexpected results when using base R packages, like stats​.

x <- c(0, 3, 7)

1 - cor(x, x)​

The above should result in a value of zero.

-

Also See: For more details see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f and the bug report: https://bugs.r-project.org/sh>

+

Also See: For more details see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f and the bug report: https://bugs.r-project.org/show_bug.cgi?id=18941