diff options
| author | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2023-04-17 11:40:28 +0200 |
|---|---|---|
| committer | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2023-04-17 11:55:30 +0200 |
| commit | 89acc4d5c645cf8bdb8f35c490b50f168931bd12 (patch) | |
| tree | da6a7b8ffc19f469768defa9cbacd9b68cb502b3 /gnu | |
| parent | a117510a8c9246f8e09577780ccaf3955f98d7ad (diff) | |
gnu: r-mixedpower: Update to b2b87068.
* gnu/packages/statistics.scm (r-mixedpower): Update to commit
b2b87068546327d8f592d141e5482e0478c1b2ee, remove patch.
* gnu/packages/patches/r-mixedpower-r2power.patch: Remove file.
* gnu/local.mk: Unregister it.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/patches/r-mixedpower-r2power.patch | 26 | ||||
| -rw-r--r-- | gnu/packages/statistics.scm | 11 |
3 files changed, 5 insertions, 33 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 0849d322762..1241ab09c05 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -1817,7 +1817,6 @@ dist_patch_DATA = \ | |||
| 1817 | %D%/packages/patches/racket-zuo-bin-sh.patch \ | 1817 | %D%/packages/patches/racket-zuo-bin-sh.patch \ |
| 1818 | %D%/packages/patches/remake-impure-dirs.patch \ | 1818 | %D%/packages/patches/remake-impure-dirs.patch \ |
| 1819 | %D%/packages/patches/restic-0.9.6-fix-tests-for-go1.15.patch \ | 1819 | %D%/packages/patches/restic-0.9.6-fix-tests-for-go1.15.patch \ |
| 1820 | %D%/packages/patches/r-mixedpower-r2power.patch \ | ||
| 1821 | %D%/packages/patches/rng-tools-revert-build-randstat.patch \ | 1820 | %D%/packages/patches/rng-tools-revert-build-randstat.patch \ |
| 1822 | %D%/packages/patches/rocm-comgr-3.1.0-dependencies.patch \ | 1821 | %D%/packages/patches/rocm-comgr-3.1.0-dependencies.patch \ |
| 1823 | %D%/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch \ | 1822 | %D%/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch \ |
diff --git a/gnu/packages/patches/r-mixedpower-r2power.patch b/gnu/packages/patches/r-mixedpower-r2power.patch deleted file mode 100644 index a3307ca7b56..00000000000 --- a/gnu/packages/patches/r-mixedpower-r2power.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From e882fda905150649aa887c72731144330ca297b5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lars-Dominik Braun <lars@6xq.net> | ||
| 3 | Date: Fri, 28 Oct 2022 09:18:11 +0200 | ||
| 4 | Subject: [PATCH] Fix R2power with R>=4.2 | ||
| 5 | |||
| 6 | The previous commit missed this if statement. | ||
| 7 | --- | ||
| 8 | R/meta_functions.R | 2 +- | ||
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | |||
| 11 | diff --git a/R/meta_functions.R b/R/meta_functions.R | ||
| 12 | index a65f0c1..fb3feba 100644 | ||
| 13 | --- a/R/meta_functions.R | ||
| 14 | +++ b/R/meta_functions.R | ||
| 15 | @@ -172,7 +172,7 @@ R2power <- function(model, data, fixed_effects, simvar, | ||
| 16 | } # end if databased | ||
| 17 | |||
| 18 | # 2. SESOI | ||
| 19 | - suppressWarnings(if (SESOI != F){ # supress warning generated by if statement if SESOI =! F | ||
| 20 | + suppressWarnings(if (!is.logical(SESOI)){ | ||
| 21 | |||
| 22 | # change beta coeficients to SESOI values | ||
| 23 | model@beta <- SESOI | ||
| 24 | -- | ||
| 25 | 2.37.4 | ||
| 26 | |||
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 138088b4b3b..dcb04859921 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm | |||
| @@ -7276,9 +7276,10 @@ models, using simulation. It was designed to work with models fit using the | |||
| 7276 | (license license:gpl2+))) | 7276 | (license license:gpl2+))) |
| 7277 | 7277 | ||
| 7278 | (define-public r-mixedpower | 7278 | (define-public r-mixedpower |
| 7279 | ;; This commit contains fixes for R>=4.2. A newer release does not exist. | 7279 | ;; This commit contains fixes for R>=4.2 and contains new features. A |
| 7280 | (let ((commit "6520195481bca3ce01862ef80a28c53b0a35d0f5") | 7280 | ;; newer release does not exist. |
| 7281 | (revision "1")) | 7281 | (let ((commit "b2b87068546327d8f592d141e5482e0478c1b2ee") |
| 7282 | (revision "2")) | ||
| 7282 | (package | 7283 | (package |
| 7283 | (name "r-mixedpower") | 7284 | (name "r-mixedpower") |
| 7284 | (version (git-version "2.0" revision commit)) | 7285 | (version (git-version "2.0" revision commit)) |
| @@ -7291,9 +7292,7 @@ models, using simulation. It was designed to work with models fit using the | |||
| 7291 | (commit commit))) | 7292 | (commit commit))) |
| 7292 | (file-name (git-file-name name version)) | 7293 | (file-name (git-file-name name version)) |
| 7293 | (sha256 | 7294 | (sha256 |
| 7294 | (base32 "114z9pvya2jg10y804ga41gq00r7zcw4a7c7234ybhmv3jqw78q1")) | 7295 | (base32 "0pys66a6c1k2fp5qk9grhzg1q1d3q51rggcilmdssimkmcsm234z")))) |
| 7295 | (patches | ||
| 7296 | (search-patches "r-mixedpower-r2power.patch")))) | ||
| 7297 | (properties `((upstream-name . "mixedpower"))) | 7296 | (properties `((upstream-name . "mixedpower"))) |
| 7298 | (build-system r-build-system) | 7297 | (build-system r-build-system) |
| 7299 | (propagated-inputs | 7298 | (propagated-inputs |
