diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-11-22 22:43:27 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-12-03 16:59:32 +0100 |
commit | 2ebebe3f6b883cda656ac27d15c368d56837ec97 (patch) | |
tree | 83bb02bc8d9524bba484b14a9c4105fe8b69b843 | |
parent | 48cdd3a4f8072ba49bb00f5524d9df0c01cec043 (diff) | |
download | guix-2ebebe3f6b883cda656ac27d15c368d56837ec97.tar.gz guix-2ebebe3f6b883cda656ac27d15c368d56837ec97.zip |
gnu: r-tdthap: Fix tests.
* gnu/packages/cran.scm (r-tdthap)[arguments]: Add phase 'compatibility.
Change-Id: Id4854b8b0403467819c1b4a589665f4ae1afddd4
-rw-r--r-- | gnu/packages/cran.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 4552d06643..03f195b665 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -26751,6 +26751,17 @@ exact test for Hardy-Weinberg equilibrium.") (base32 "05yj7jwwd0q2yk8gpp44fhh3sknvw3g6p9glj6z6rz46p9xf31kr")))) (build-system r-build-system) + (arguments + (list + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'compatibility + (lambda _ + ;; ".path.package" is obsolete. + (substitute* "inst/tests/test.R" + (("# Read a pedfile" m) + (string-append "library(tdthap)\n" m)) + (("\\.path.package") "path.package"))))))) (home-page "https://cran.r-project.org/web/packages/tdthap/") (synopsis "TDT tests for extended haplotypes") (description |