all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sahithi Yarlagadda <sahi@swecha.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 30885@debbugs.gnu.org, help-guix@gnu.org
Subject: [bug#30885] Submitting Patch File for r-catdap Package Description for CRAN package
Date: Thu, 22 Mar 2018 21:18:38 +0530	[thread overview]
Message-ID: <a0aa3f0a-c9af-546c-8afb-f14de2aa6e74@swecha.net> (raw)
In-Reply-To: <87in9ob3pj.fsf@elephly.net>

[-- 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


WARNING: multiple messages have this Message-ID (diff)
From: Sahithi Yarlagadda <sahi@swecha.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 30885@debbugs.gnu.org, help-guix@gnu.org
Subject: Re: Submitting Patch File for r-catdap Package Description for CRAN package
Date: Thu, 22 Mar 2018 21:18:38 +0530	[thread overview]
Message-ID: <a0aa3f0a-c9af-546c-8afb-f14de2aa6e74@swecha.net> (raw)
In-Reply-To: <87in9ob3pj.fsf@elephly.net>

[-- 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


  reply	other threads:[~2018-03-22 15:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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           ` Sahithi Yarlagadda [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a0aa3f0a-c9af-546c-8afb-f14de2aa6e74@swecha.net \
    --to=sahi@swecha.net \
    --cc=30885@debbugs.gnu.org \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.