* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
@ 2018-03-20 16:48 Sahithi Yarlagadda
2018-03-21 6:36 ` Ricardo Wurmus
0 siblings, 1 reply; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-20 16:48 UTC (permalink / raw)
To: 30885; +Cc: Ricardo Wurmus
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
Hi
Submitting the patch file for Creating Package Description for r-catdap
package under CRAN.
--
Regards
Sahithi
[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1395 bytes --]
From 3ff6f97c02d72acd7e5d7853ba51cd46e725cd6e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
Date: Tue, 20 Mar 2018 22:13:21 +0530
Subject: [PATCH] gnu: Add r-catdap.
* gnu/packages/cran.scm (r-catdap): New variable.
---
gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 749eed8b5..f45ec9e21 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3273,3 +3273,35 @@ 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)
+ (home-page "https://cran.r-project.org/web/packages/catdap/")
+ (synopsis "Categorical data analysis program package")
+ (description
+ "Categorical data analysis by AIC. The methodology is described in
+Sakamoto (1992) @url{https://www.springer.com/in/book/9780792314295}")
+ ;; Any GPL version.
+ (license license:gpl2+)))
+
+
+
+
+
+
+
+
+
+
+
+
--
2.16.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-20 16:48 [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package Sahithi Yarlagadda
@ 2018-03-21 6:36 ` Ricardo Wurmus
2018-03-21 10:30 ` Sahithi Yarlagadda
0 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2018-03-21 6:36 UTC (permalink / raw)
To: Sahithi Yarlagadda; +Cc: 30885
Hi Sahithi,
thanks for the patch!
> +
> +(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)
> + (home-page "https://cran.r-project.org/web/packages/catdap/")
> + (synopsis "Categorical data analysis program package")
> + (description
> + "Categorical data analysis by AIC. The methodology is described in
> +Sakamoto (1992) @url{https://www.springer.com/in/book/9780792314295}")
Please use full sentences in the description. In this case I went to
the home page and downloaded the reference manual, which contains this
sentence:
“This package provides functions for analyzing multivariate
data. Dependencies of the distribution of specified variable
(response variable) to other variables (explanatory variables) are
derived and evaluated by AIC (Akaike Information Criterion).”
This is a better description based on that sentence:
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).
“@dfn” is used for definitions.
> + ;; Any GPL version.
> + (license license:gpl2+)))
The comment is incorrect. The home page says:
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
This means it is actually GPLv2+.
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
> +
Please don’t add so many empty lines at the end :)
Could you please send an updated patch as a reply to this message?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-21 6:36 ` Ricardo Wurmus
@ 2018-03-21 10:30 ` Sahithi Yarlagadda
2018-03-21 21:08 ` Ricardo Wurmus
0 siblings, 1 reply; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-21 10:30 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885
[-- Attachment #1: Type: text/plain, Size: 2243 bytes --]
Hi
I resending the patch. Bear with my mistakes, im learning things.
Hopefully Ill make sure my next patch would be perfect.
On Wednesday 21 March 2018 12:06 PM, Ricardo Wurmus wrote:
> Hi Sahithi,
>
> thanks for the patch!
>
>> +
>> +(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)
>> + (home-page "https://cran.r-project.org/web/packages/catdap/")
>> + (synopsis "Categorical data analysis program package")
>> + (description
>> + "Categorical data analysis by AIC. The methodology is described in
>> +Sakamoto (1992) @url{https://www.springer.com/in/book/9780792314295}")
> Please use full sentences in the description. In this case I went to
> the home page and downloaded the reference manual, which contains this
> sentence:
>
> “This package provides functions for analyzing multivariate
> data. Dependencies of the distribution of specified variable
> (response variable) to other variables (explanatory variables) are
> derived and evaluated by AIC (Akaike Information Criterion).”
>
> This is a better description based on that sentence:
>
> 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).
>
> “@dfn” is used for definitions.
>
>> + ;; Any GPL version.
>> + (license license:gpl2+)))
> The comment is incorrect. The home page says:
>
> License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
>
> This means it is actually GPLv2+.
>
>> +
>> +
>> +
>> +
>> +
>> +
>> +
>> +
>> +
>> +
>> +
>> +
> Please don’t add so many empty lines at the end :)
>
> Could you please send an updated patch as a reply to this message?
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>
--
Regards
Sahithi
[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1465 bytes --]
From 993ec4eb85c24d0dcaba2052604913fb0941e96d Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
Date: Wed, 21 Mar 2018 15:52:40 +0530
Subject: [PATCH] gnu: Add r-catdap.
* gnu/packages/cran.scm (r-catdap): New variable.
---
gnu/packages/cran.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 749eed8b5..ce09c22c5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3273,3 +3273,25 @@ 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)
+ (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
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-21 10:30 ` Sahithi Yarlagadda
@ 2018-03-21 21:08 ` Ricardo Wurmus
2018-03-22 13:35 ` Sahithi Yarlagadda
0 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2018-03-21 21:08 UTC (permalink / raw)
To: Sahithi Yarlagadda; +Cc: 30885
Hi Sahithi,
> I resending the patch. Bear with my mistakes, im learning things.
> Hopefully Ill make sure my next patch would be perfect.
Thank you for persevering :)
This looks a lot better, but I’ve just tried to build it and failed.
Have you tried building the package?
Looking at the error message can you figure out what might be wrong
here?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-21 21:08 ` Ricardo Wurmus
@ 2018-03-22 13:35 ` Sahithi Yarlagadda
0 siblings, 0 replies; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-22 13:35 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885, help-guix
Hi
I made changes to gnu/packages/cran.scm file and tried to build by
cloning the source and then
./bootstrap
./configure --localstatedir=/var
make
and then did this
./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
make: ***
[/gnu/store/af15vbzfw211mh278h3n2lbfrpxkps14-r-minimal-3.4.3/lib/R/etc/Makeconf:182:
catdap1f.o] Error 127
ERROR: compilation failed for package ?catdap?
* removing
?/gnu/store/amhlp36iaihivvcb1qddrbm8jfn55nyw-r-catdap-1.3.4/site-library/catdap?
phase `install' failed after 0.4 seconds
builder for
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
with exit code 1
@ build-failed
/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv - 1
builder for
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
with exit code 1
guix build: error: build failed: build of
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
Please help me resolve this.
On Thursday 22 March 2018 02:38 AM, Ricardo Wurmus wrote:
> Hi Sahithi,
>
>> I resending the patch. Bear with my mistakes, im learning things.
>> Hopefully Ill make sure my next patch would be perfect.
> Thank you for persevering :)
>
> This looks a lot better, but I’ve just tried to build it and failed.
> Have you tried building the package?
>
> Looking at the error message can you figure out what might be wrong
> here?
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>
--
Regards
Sahithi
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Submitting Patch File for r-catdap Package Description for CRAN package
@ 2018-03-22 13:35 ` Sahithi Yarlagadda
0 siblings, 0 replies; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-22 13:35 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885, help-guix
Hi
I made changes to gnu/packages/cran.scm file and tried to build by
cloning the source and then
./bootstrap
./configure --localstatedir=/var
make
and then did this
./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
make: ***
[/gnu/store/af15vbzfw211mh278h3n2lbfrpxkps14-r-minimal-3.4.3/lib/R/etc/Makeconf:182:
catdap1f.o] Error 127
ERROR: compilation failed for package ?catdap?
* removing
?/gnu/store/amhlp36iaihivvcb1qddrbm8jfn55nyw-r-catdap-1.3.4/site-library/catdap?
phase `install' failed after 0.4 seconds
builder for
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
with exit code 1
@ build-failed
/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv - 1
builder for
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
with exit code 1
guix build: error: build failed: build of
`/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
Please help me resolve this.
On Thursday 22 March 2018 02:38 AM, Ricardo Wurmus wrote:
> Hi Sahithi,
>
>> I resending the patch. Bear with my mistakes, im learning things.
>> Hopefully Ill make sure my next patch would be perfect.
> Thank you for persevering :)
>
> This looks a lot better, but I’ve just tried to build it and failed.
> Have you tried building the package?
>
> Looking at the error message can you figure out what might be wrong
> here?
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>
--
Regards
Sahithi
^ permalink raw reply [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-22 13:35 ` Sahithi Yarlagadda
(?)
@ 2018-03-22 13:56 ` julien lepiller
-1 siblings, 0 replies; 14+ messages in thread
From: julien lepiller @ 2018-03-22 13:56 UTC (permalink / raw)
To: 30885
Hi Sahithi,
Le 2018-03-22 14:35, Sahithi Yarlagadda a écrit :
> Hi
>
> I made changes to gnu/packages/cran.scm file and tried to build by
> cloning the source and then
>
> ./bootstrap
>
> ./configure --localstatedir=/var
>
> make
Well done :)
>
> and then did this
>
> ./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
^^^^
This error comes from the build itself and tells you that gfortran is
not
present in the build environment. Although I don't know why the error
happens only in the install phase, you probably need to add gfortran in
the list of native-inputs (native-inputs because gfortran is a compiler
and is (I think) not required at runtime).
> make: ***
> [/gnu/store/af15vbzfw211mh278h3n2lbfrpxkps14-r-minimal-3.4.3/lib/R/etc/Makeconf:182:
> catdap1f.o] Error 127
> ERROR: compilation failed for package ?catdap?
> * removing
> ?/gnu/store/amhlp36iaihivvcb1qddrbm8jfn55nyw-r-catdap-1.3.4/site-library/catdap?
> phase `install' failed after 0.4 seconds
> builder for
> `/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
> with exit code 1
> @ build-failed
> /gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv - 1
> builder for
> `/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
> with exit code 1
> guix build: error: build failed: build of
> `/gnu/store/v5l6i88p5xq8czgcnigwzwkcg9gz7qka-r-catdap-1.3.4.drv' failed
>
> Please help me resolve this.
>
>
> On Thursday 22 March 2018 02:38 AM, Ricardo Wurmus wrote:
>> Hi Sahithi,
>>
>>> I resending the patch. Bear with my mistakes, im learning things.
>>> Hopefully Ill make sure my next patch would be perfect.
>> Thank you for persevering :)
>>
>> This looks a lot better, but I’ve just tried to build it and failed.
>> Have you tried building the package?
>>
>> Looking at the error message can you figure out what might be wrong
>> here?
>>
>> --
>> Ricardo
>>
>> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
>> https://elephly.net
>>
>>
>>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-22 13:35 ` Sahithi Yarlagadda
@ 2018-03-22 14:11 ` Ricardo Wurmus
-1 siblings, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2018-03-22 14:11 UTC (permalink / raw)
To: Sahithi Yarlagadda; +Cc: 30885, help-guix
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Submitting Patch File for r-catdap Package Description for CRAN package
@ 2018-03-22 14:11 ` Ricardo Wurmus
0 siblings, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2018-03-22 14:11 UTC (permalink / raw)
To: Sahithi Yarlagadda; +Cc: 30885, help-guix
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-22 14:11 ` Ricardo Wurmus
@ 2018-03-22 15:48 ` Sahithi Yarlagadda
-1 siblings, 0 replies; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-22 15:48 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885, help-guix
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
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
[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1513 bytes --]
From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
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
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: Submitting Patch File for r-catdap Package Description for CRAN package
@ 2018-03-22 15:48 ` Sahithi Yarlagadda
0 siblings, 0 replies; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-22 15:48 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885, help-guix
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
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
[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1513 bytes --]
From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
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
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-22 15:48 ` Sahithi Yarlagadda
@ 2018-03-23 20:06 ` Sahithi Yarlagadda
-1 siblings, 0 replies; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-23 20:06 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885, help-guix
[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]
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
[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1513 bytes --]
From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
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
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: Submitting Patch File for r-catdap Package Description for CRAN package
@ 2018-03-23 20:06 ` Sahithi Yarlagadda
0 siblings, 0 replies; 14+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-23 20:06 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 30885, help-guix
[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]
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
[-- Attachment #2: 0001-gnu-Add-r-catdap.patch --]
[-- Type: text/x-patch, Size: 1513 bytes --]
From 06857b15ca253c68be18c9c831e95b6808fd956e Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
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
^ permalink raw reply related [flat|nested] 14+ messages in thread
* bug#30885: Submitting Patch File for r-catdap Package Description for CRAN package
2018-03-23 20:06 ` Sahithi Yarlagadda
(?)
@ 2018-03-23 20:57 ` Ricardo Wurmus
-1 siblings, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2018-03-23 20:57 UTC (permalink / raw)
To: Sahithi Yarlagadda; +Cc: 30885-done
Hi Sahithi,
thanks for the updated patch. I’ve pushed it to the master branch with
commit 24fa6bcac after minor changes:
* fixed the indentation
* reworded the synopsis
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2018-03-23 20:59 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20 16:48 [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package Sahithi Yarlagadda
2018-03-21 6:36 ` Ricardo Wurmus
2018-03-21 10:30 ` Sahithi Yarlagadda
2018-03-21 21:08 ` Ricardo Wurmus
2018-03-22 13:35 ` Sahithi Yarlagadda
2018-03-22 13:35 ` Sahithi Yarlagadda
2018-03-22 13:56 ` [bug#30885] " julien lepiller
2018-03-22 14:11 ` Ricardo Wurmus
2018-03-22 14:11 ` Ricardo Wurmus
2018-03-22 15:48 ` [bug#30885] " Sahithi Yarlagadda
2018-03-22 15:48 ` Sahithi Yarlagadda
2018-03-23 20:06 ` [bug#30885] " Sahithi Yarlagadda
2018-03-23 20:06 ` Sahithi Yarlagadda
2018-03-23 20:57 ` bug#30885: " Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.