From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez2Sd-00065a-JS for guix-patches@gnu.org; Thu, 22 Mar 2018 11:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez2Sc-00030Z-Ho for guix-patches@gnu.org; Thu, 22 Mar 2018 11:49:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ez2Sc-00030Q-C8 for guix-patches@gnu.org; Thu, 22 Mar 2018 11:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ez2Sc-0004wE-4h for guix-patches@gnu.org; Thu, 22 Mar 2018 11:49:02 -0400 Subject: [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package Resent-Message-ID: References: <87d0zyc4v8.fsf@elephly.net> <1262bbc6-6b7c-fd72-5b34-06dc3e928ebd@swecha.net> <87vadpb0h7.fsf@elephly.net> <29772016-b5e2-f276-e58d-a6e0ba98b409@swecha.net> <87in9ob3pj.fsf@elephly.net> From: Sahithi Yarlagadda Message-ID: Date: Thu, 22 Mar 2018 21:18:38 +0530 MIME-Version: 1.0 In-Reply-To: <87in9ob3pj.fsf@elephly.net> Content-Type: multipart/mixed; boundary="------------CC26194A6A5C640BD7268DFE" Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 30885@debbugs.gnu.org, help-guix@gnu.org This is a multi-part message in MIME format. --------------CC26194A6A5C640BD7268DFE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 --------------CC26194A6A5C640BD7268DFE Content-Type: text/x-patch; name="0001-gnu-Add-r-catdap.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-r-catdap.patch" >From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001 From: Sahithi Yarlagadda 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 --------------CC26194A6A5C640BD7268DFE-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sahithi Yarlagadda Subject: Re: Submitting Patch File for r-catdap Package Description for CRAN package Date: Thu, 22 Mar 2018 21:18:38 +0530 Message-ID: References: <87d0zyc4v8.fsf@elephly.net> <1262bbc6-6b7c-fd72-5b34-06dc3e928ebd@swecha.net> <87vadpb0h7.fsf@elephly.net> <29772016-b5e2-f276-e58d-a6e0ba98b409@swecha.net> <87in9ob3pj.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------CC26194A6A5C640BD7268DFE" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez2SO-0005xN-Q3 for help-guix@gnu.org; Thu, 22 Mar 2018 11:48:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez2SL-0002rk-Kr for help-guix@gnu.org; Thu, 22 Mar 2018 11:48:48 -0400 Received: from swecha.net ([136.243.177.181]:53310) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ez2SL-0002qi-8W for help-guix@gnu.org; Thu, 22 Mar 2018 11:48:45 -0400 In-Reply-To: <87in9ob3pj.fsf@elephly.net> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: 30885@debbugs.gnu.org, help-guix@gnu.org This is a multi-part message in MIME format. --------------CC26194A6A5C640BD7268DFE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 --------------CC26194A6A5C640BD7268DFE Content-Type: text/x-patch; name="0001-gnu-Add-r-catdap.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-r-catdap.patch" >From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001 From: Sahithi Yarlagadda 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 --------------CC26194A6A5C640BD7268DFE--