Hi Submission of the patch was done. Can you merge this to the source.
Regards Sahithi On Thursday 22 March 2018 09:18 PM, Sahithi Yarlagadda wrote: > Hi Ricardo > > The build was success after adding native input as gfortran. > Unfortunately it was not listed in the project website > > https://cran.r-project.org/web/packages/catdap/ > > > I am submitting the patch. > > > > On Thursday 22 March 2018 07:41 PM, Ricardo Wurmus wrote: >> Hi Sahithi, >> >>> ./pre-inst-env guix build r-catdap >>> >>> Got this error while building the package >>> >>> starting phase `install' >>> * installing *source* package ?catdap? ... >>> ** package ?catdap? successfully unpacked and MD5 sums checked >>> ** libs >>> gfortran -fpic -g -O2 -c catdap1f.f -o catdap1f.o >>> /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash: >>> gfortran: command not found >> It says that it couldn’t find gfortran. That’s because the package >> definition does not include gfortran among its (native-)inputs. >> >> Try adding it. Hint: there are other packages in cran.scm that use >> gfortran. >> >> -- >> Ricardo >> >> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC >> https://elephly.net >> >> >> -- Regards Sahithi
>From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001 From: Sahithi Yarlagadda <[email protected]> Date: Thu, 22 Mar 2018 21:07:34 +0530 Subject: [PATCH] gnu: Add r-catdap. * gnu/packages/cran.scm (r-catdap): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 749eed8b5..c06417399 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3273,3 +3273,26 @@ those functions to be used with time series including specifications that may contain lags, diffs and missing values.") ;; Any GPL version. (license license:gpl2+))) + +(define-public r-catdap + (package + (name "r-catdap") + (version "1.3.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "catdap" version)) + (sha256 + (base32 + "0i877l61f6c75pczi235rzci67w29zv1d7z5zn5p5ymndclvlpl2")))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "https://cran.r-project.org/web/packages/catdap/") + (synopsis "Categorical data analysis program package") + (description + "This package provides functions for analyzing multivariate data. +Dependencies of the distribution of the specified variable (response +variable) to other variables (explanatory variables) are derived and +evaluated by the @dfn{Akaike Information Criterion} (AIC).") + (license license:gpl2+))) -- 2.16.2
