unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34538] [PATCH] gnu: Add r-sloop.
@ 2019-02-18 23:14 Brett Gilio
  2019-02-20 16:47 ` Ricardo Wurmus
  2019-02-20 19:18 ` Brett Gilio
  0 siblings, 2 replies; 7+ messages in thread
From: Brett Gilio @ 2019-02-18 23:14 UTC (permalink / raw)
  To: 34538

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH] gnu: Add r-sloop. --]
[-- Type: text/x-patch, Size: 1499 bytes --]

From 4354879abedcb0b127c726d175900de91c4fa5cc Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@posteo.net>
Date: Mon, 18 Feb 2019 17:13:37 -0600
Subject: [PATCH] gnu: Add r-sloop.

* gnu/packages/cran.scm (r-sloop): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 82fd465d7..75ed4f603 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10650,3 +10650,27 @@ analysis (@code{rrpca}), randomized interpolative decomposition (@code{rid}),
 and the randomized CUR decomposition (@code{rcur}).  In addition several plot
 functions are provided.")
     (license license:gpl3+)))
+
+(define-public r-sloop
+  (package
+  (name "r-sloop")
+  (version "1.0.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (cran-uri "sloop" version))
+      (sha256
+        (base32
+          "00fk5fr5zsk2qxc1kfhmshhjxgnamm3401089sx8m2l529zd6r8j"))))
+  (build-system r-build-system)
+  (propagated-inputs
+    `(("r-codetools" ,r-codetools)
+      ("r-crayon" ,r-crayon)
+      ("r-purrr" ,r-purrr)
+      ("r-rlang" ,r-rlang)
+      ("r-tibble" ,r-tibble)))
+  (home-page "https://github.com/r-lib/sloop")
+  (synopsis "Helpers for 'OOP' in R")
+  (description
+    "This package provides a collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.")
+  (license license:gpl3)))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#34538] [PATCH] gnu: Add r-sloop.
  2019-02-18 23:14 [bug#34538] [PATCH] gnu: Add r-sloop Brett Gilio
@ 2019-02-20 16:47 ` Ricardo Wurmus
  2019-02-20 18:49   ` Brett Gilio
  2019-02-20 19:18 ` Brett Gilio
  1 sibling, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-02-20 16:47 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 34538


Hi Brett,

> * gnu/packages/cran.scm (r-sloop): New variable.
[…]
> +
> +(define-public r-sloop
> +  (package
> +  (name "r-sloop")
> +  (version "1.0.1")
> +  (source
> +    (origin
> +      (method url-fetch)
> +      (uri (cran-uri "sloop" version))
> +      (sha256
> +        (base32
> +          "00fk5fr5zsk2qxc1kfhmshhjxgnamm3401089sx8m2l529zd6r8j"))))
> +  (build-system r-build-system)
> +  (propagated-inputs
> +    `(("r-codetools" ,r-codetools)
> +      ("r-crayon" ,r-crayon)
> +      ("r-purrr" ,r-purrr)
> +      ("r-rlang" ,r-rlang)
> +      ("r-tibble" ,r-tibble)))
> +  (home-page "https://github.com/r-lib/sloop")
> +  (synopsis "Helpers for 'OOP' in R")
> +  (description
> +    "This package provides a collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.")
> +  (license license:gpl3)))

There are a couple of problems here:

- The indentation is wrong throughout.
- Please don’t use “'” in the synopsis and description.
- Please spell out “OOP” in the synopsis
- Please break the long description up into several lines.  “guix lint”
  will warn you about this, so please use it.

Could you please send a new patch to 34538@debbugs.gnu.org?

Thanks!

--
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#34538] [PATCH] gnu: Add r-sloop.
  2019-02-20 16:47 ` Ricardo Wurmus
@ 2019-02-20 18:49   ` Brett Gilio
  0 siblings, 0 replies; 7+ messages in thread
From: Brett Gilio @ 2019-02-20 18:49 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 34538


Ricardo Wurmus writes:

> Hi Brett,
>
>> * gnu/packages/cran.scm (r-sloop): New variable.
> […]
>> +
>> +(define-public r-sloop
>> +  (package
>> +  (name "r-sloop")
>> +  (version "1.0.1")
>> +  (source
>> +    (origin
>> +      (method url-fetch)
>> +      (uri (cran-uri "sloop" version))
>> +      (sha256
>> +        (base32
>> +          "00fk5fr5zsk2qxc1kfhmshhjxgnamm3401089sx8m2l529zd6r8j"))))
>> +  (build-system r-build-system)
>> +  (propagated-inputs
>> +    `(("r-codetools" ,r-codetools)
>> +      ("r-crayon" ,r-crayon)
>> +      ("r-purrr" ,r-purrr)
>> +      ("r-rlang" ,r-rlang)
>> +      ("r-tibble" ,r-tibble)))
>> +  (home-page "https://github.com/r-lib/sloop")
>> +  (synopsis "Helpers for 'OOP' in R")
>> +  (description
>> +    "This package provides a collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.")
>> +  (license license:gpl3)))
>
> There are a couple of problems here:
>
> - The indentation is wrong throughout.
> - Please don’t use “'” in the synopsis and description.
> - Please spell out “OOP” in the synopsis
> - Please break the long description up into several lines.  “guix lint”
>   will warn you about this, so please use it.
>
> Could you please send a new patch to 34538@debbugs.gnu.org?
>
> Thanks!

Hi Ricardo,

Yes. I must have missed linting this one, my apologies. Stand-by for a
new patch.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#34538] [PATCH] gnu: Add r-sloop.
  2019-02-18 23:14 [bug#34538] [PATCH] gnu: Add r-sloop Brett Gilio
  2019-02-20 16:47 ` Ricardo Wurmus
@ 2019-02-20 19:18 ` Brett Gilio
  2019-02-20 19:23   ` Brett Gilio
  2019-02-20 20:22   ` bug#34538: " Ricardo Wurmus
  1 sibling, 2 replies; 7+ messages in thread
From: Brett Gilio @ 2019-02-20 19:18 UTC (permalink / raw)
  To: 34538

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH] gnu: Add r-sloop. --]
[-- Type: text/x-patch, Size: 1557 bytes --]

From cb238f0cfb09e1488630817023919f8129918554 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@posteo.net>
Date: Wed, 20 Feb 2019 13:14:07 -0600
Subject: [PATCH] gnu: Add r-sloop.

* gnu/packages/cran.scm (r-sloop): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 82fd465d7..565a19527 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10650,3 +10650,29 @@ analysis (@code{rrpca}), randomized interpolative decomposition (@code{rid}),
 and the randomized CUR decomposition (@code{rcur}).  In addition several plot
 functions are provided.")
     (license license:gpl3+)))
+
+(define-public r-sloop
+  (package
+    (name "r-sloop")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sloop" version))
+       (sha256
+        (base32
+         "00fk5fr5zsk2qxc1kfhmshhjxgnamm3401089sx8m2l529zd6r8j"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-codetools" ,r-codetools)
+       ("r-crayon" ,r-crayon)
+       ("r-purrr" ,r-purrr)
+       ("r-rlang" ,r-rlang)
+       ("r-tibble" ,r-tibble)))
+    (home-page "https://github.com/r-lib/sloop")
+    (synopsis "Helpers for object-oriented programming in R")
+    (description
+     "This package provides a collection of helper functions designed to
+help you to better understand object oriented programming in R, particularly
+using @code{S3}.")
+    (license license:gpl3)))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#34538] [PATCH] gnu: Add r-sloop.
  2019-02-20 19:18 ` Brett Gilio
@ 2019-02-20 19:23   ` Brett Gilio
  2019-02-20 20:22   ` bug#34538: " Ricardo Wurmus
  1 sibling, 0 replies; 7+ messages in thread
From: Brett Gilio @ 2019-02-20 19:23 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 34538


Brett Gilio writes:

> From cb238f0cfb09e1488630817023919f8129918554 Mon Sep 17 00:00:00 2001
> From: Brett Gilio <brettg@posteo.net>
> Date: Wed, 20 Feb 2019 13:14:07 -0600
> Subject: [PATCH] gnu: Add r-sloop.
>
> * gnu/packages/cran.scm (r-sloop): New variable.
> ---
>  gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
> index 82fd465d7..565a19527 100644
> --- a/gnu/packages/cran.scm
> +++ b/gnu/packages/cran.scm
> @@ -10650,3 +10650,29 @@ analysis (@code{rrpca}), randomized interpolative decomposition (@code{rid}),
>  and the randomized CUR decomposition (@code{rcur}).  In addition several plot
>  functions are provided.")
>      (license license:gpl3+)))
> +
> +(define-public r-sloop
> +  (package
> +    (name "r-sloop")
> +    (version "1.0.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "sloop" version))
> +       (sha256
> +        (base32
> +         "00fk5fr5zsk2qxc1kfhmshhjxgnamm3401089sx8m2l529zd6r8j"))))
> +    (build-system r-build-system)
> +    (propagated-inputs
> +     `(("r-codetools" ,r-codetools)
> +       ("r-crayon" ,r-crayon)
> +       ("r-purrr" ,r-purrr)
> +       ("r-rlang" ,r-rlang)
> +       ("r-tibble" ,r-tibble)))
> +    (home-page "https://github.com/r-lib/sloop")
> +    (synopsis "Helpers for object-oriented programming in R")
> +    (description
> +     "This package provides a collection of helper functions designed to
> +help you to better understand object oriented programming in R, particularly
> +using @code{S3}.")
> +    (license license:gpl3)))

Ricardo, the changes have been applied and it passed the linter.

WDYT?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#34538: [PATCH] gnu: Add r-sloop.
  2019-02-20 19:18 ` Brett Gilio
  2019-02-20 19:23   ` Brett Gilio
@ 2019-02-20 20:22   ` Ricardo Wurmus
  2019-02-20 20:48     ` [bug#34538] " Brett Gilio
  1 sibling, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-02-20 20:22 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 34538-done


Brett Gilio <brettg@posteo.net> writes:

> From cb238f0cfb09e1488630817023919f8129918554 Mon Sep 17 00:00:00 2001
> From: Brett Gilio <brettg@posteo.net>
> Date: Wed, 20 Feb 2019 13:14:07 -0600
> Subject: [PATCH] gnu: Add r-sloop.
>
> * gnu/packages/cran.scm (r-sloop): New variable.

Thank you for the corrected patch.

Pushed to the master branch with commit 14afee3e8b.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#34538] [PATCH] gnu: Add r-sloop.
  2019-02-20 20:22   ` bug#34538: " Ricardo Wurmus
@ 2019-02-20 20:48     ` Brett Gilio
  0 siblings, 0 replies; 7+ messages in thread
From: Brett Gilio @ 2019-02-20 20:48 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 34538-done


Ricardo Wurmus writes:

> Brett Gilio <brettg@posteo.net> writes:
>
>> From cb238f0cfb09e1488630817023919f8129918554 Mon Sep 17 00:00:00 2001
>> From: Brett Gilio <brettg@posteo.net>
>> Date: Wed, 20 Feb 2019 13:14:07 -0600
>> Subject: [PATCH] gnu: Add r-sloop.
>>
>> * gnu/packages/cran.scm (r-sloop): New variable.
>
> Thank you for the corrected patch.
>
> Pushed to the master branch with commit 14afee3e8b.

Thank you for the help.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-02-20 20:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-18 23:14 [bug#34538] [PATCH] gnu: Add r-sloop Brett Gilio
2019-02-20 16:47 ` Ricardo Wurmus
2019-02-20 18:49   ` Brett Gilio
2019-02-20 19:18 ` Brett Gilio
2019-02-20 19:23   ` Brett Gilio
2019-02-20 20:22   ` bug#34538: " Ricardo Wurmus
2019-02-20 20:48     ` [bug#34538] " Brett Gilio

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).