unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4
@ 2022-09-08 14:55 zimoun
  2022-09-08 14:56 ` [bug#57678] [PATCH 1/2] gnu: Add r-proj.4 zimoun
  2022-09-09  6:36 ` [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 Ricardo Wurmus
  0 siblings, 2 replies; 6+ messages in thread
From: zimoun @ 2022-09-08 14:55 UTC (permalink / raw)
  To: 57678; +Cc: zimoun, Ricardo Wurmus

Hi,

This series adds two CRAN packages.  Note that some warnings raise,

--8<---------------cut here---------------start------------->8---
Warning message:
In normalizePath("~") :
  path[1]="/homeless-shelter": No such file or directory
--8<---------------cut here---------------end--------------->8---


Cheers,
simon



zimoun (2):
  gnu: Add r-proj.4.
  gnu: Add r-ggalt.

 gnu/packages/cran.scm | 66 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)


base-commit: cd10a235d9e027c0851e9b47f76288d0bfca8a9b
-- 
2.36.0





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

* [bug#57678] [PATCH 1/2] gnu: Add r-proj.4.
  2022-09-08 14:55 [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 zimoun
@ 2022-09-08 14:56 ` zimoun
  2022-09-08 14:56   ` [bug#57678] [PATCH 2/2] gnu: Add r-ggalt zimoun
  2022-09-09  6:36 ` [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 Ricardo Wurmus
  1 sibling, 1 reply; 6+ messages in thread
From: zimoun @ 2022-09-08 14:56 UTC (permalink / raw)
  To: 57678; +Cc: zimoun

* gnu/packages/cran.scm (r-proj.4): 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 7aa3ebde97..ab12c80a79 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -593,6 +593,29 @@ (define-public r-googlesheets4
 can read and write both the metadata and the cell data in a Sheet.")
     (license license:expat)))
 
+(define-public r-proj.4
+  (package
+    (name "r-proj.4")
+    (version "1.0-11")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "proj4" version))
+              (sha256
+               (base32
+                "07fil52jswbg2h807cd82m2wlm5j2fb891ifri9ms037099qdwf5"))))
+    (properties `((upstream-name . "proj4")))
+    (build-system r-build-system)
+    (inputs (list proj.4 zlib))
+    (native-inputs (list pkg-config))
+    (home-page "http://www.rforge.net/proj4/")
+    (synopsis "Simple interface to the PROJ.4 cartographic projections library")
+    (description
+     "This package provides a simple interface to lat/long projection and
+datum transformation of the PROJ.4 cartographic projections library.  It
+allows transformation of geographic coordinates from one projection and/or
+datum to another.")
+    (license license:gpl2)))
+
 (define-public r-waldo
   (package
     (name "r-waldo")
-- 
2.36.0





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

* [bug#57678] [PATCH 2/2] gnu: Add r-ggalt.
  2022-09-08 14:56 ` [bug#57678] [PATCH 1/2] gnu: Add r-proj.4 zimoun
@ 2022-09-08 14:56   ` zimoun
  0 siblings, 0 replies; 6+ messages in thread
From: zimoun @ 2022-09-08 14:56 UTC (permalink / raw)
  To: 57678; +Cc: zimoun

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab12c80a79..662d385d6f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -422,6 +422,49 @@ (define-public r-emdist
 Distance (EMD).")
     (license license:expat)))
 
+(define-public r-ggalt
+  (package
+    (name "r-ggalt")
+    (version "0.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "ggalt" version))
+              (sha256
+               (base32
+                "0ssa274d41vhd6crzjz7jqzbwgnjimxwxl23p2cx35aqs5wdfjpc"))))
+    (properties `((upstream-name . "ggalt")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-ash
+           r-dplyr
+           r-extrafont
+           r-ggplot2
+           r-gtable
+           r-kernsmooth
+           r-maps
+           r-mass
+           r-plotly
+           r-proj.4
+           r-rcolorbrewer
+           r-scales
+           r-tibble))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/hrbrmstr/ggalt")
+    (synopsis
+     "Geometries, coordinate systems, fonts and more for ggplot2")
+    (description
+     "This package provides a compendium of new geometries, coordinate systems,
+statistical transformations, scales and fonts for ggplot2, including splines,
+1d and 2d densities, univariate average shifted histograms, a new map
+coordinate system based on the PROJ.4-library along with
+@code{geom_cartogram()} that mimics the original functionality of
+@code{geom_map()}, formatters for \"bytes\", a @code{stat_stepribbon()}
+function, increased @code{plotly} compatibility and the @code{StateFace} open
+source font ProPublica.  Further new functionality includes lollipop charts,
+dumbbell charts, the ability to encircle points and coordinate-system-based
+text annotations.")
+    (license license:agpl3)))
+
 (define-public r-glmpca
   (package
     (name "r-glmpca")
-- 
2.36.0





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

* [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4
  2022-09-08 14:55 [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 zimoun
  2022-09-08 14:56 ` [bug#57678] [PATCH 1/2] gnu: Add r-proj.4 zimoun
@ 2022-09-09  6:36 ` Ricardo Wurmus
  2022-09-09  7:53   ` zimoun
  1 sibling, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2022-09-09  6:36 UTC (permalink / raw)
  To: zimoun; +Cc: 57678


Hi zimoun,

> This series adds two CRAN packages.

Thanks, these look good to me. 

> Note that some warnings raise,
>
> Warning message:
> In normalizePath("~") :
>   path[1]="/homeless-shelter": No such file or directory

This is unfortunately expected since a recent R upgrade. 

>   gnu: Add r-proj.4.

Shouldn’t this be named “r-proj4”?

-- 
Ricardo




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

* [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4
  2022-09-09  6:36 ` [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 Ricardo Wurmus
@ 2022-09-09  7:53   ` zimoun
  2022-09-10  7:48     ` bug#57678: " Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: zimoun @ 2022-09-09  7:53 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 57678

Hi Ricardo,

On ven., 09 sept. 2022 at 08:36, Ricardo Wurmus <rekado@elephly.net> wrote:

>>   gnu: Add r-proj.4.
>
> Shouldn’t this be named “r-proj4”?

Well, I do not know.  Maybe.  Since it is a binding of PROJ.4, I assumed
the name is r-proj.4.  Indeed, upstream names it ’proj4’ without dot.
Therefore, let use ’r-proj4’.


Cheers,
simon




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

* bug#57678: [PATCH 0/2] Add r-ggalt and r-proj.4
  2022-09-09  7:53   ` zimoun
@ 2022-09-10  7:48     ` Ricardo Wurmus
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2022-09-10  7:48 UTC (permalink / raw)
  To: zimoun; +Cc: 57678-done


zimoun <zimon.toutoune@gmail.com> writes:

> Hi Ricardo,
>
> On ven., 09 sept. 2022 at 08:36, Ricardo Wurmus <rekado@elephly.net> wrote:
>
>>>   gnu: Add r-proj.4.
>>
>> Shouldn’t this be named “r-proj4”?
>
> Well, I do not know.  Maybe.  Since it is a binding of PROJ.4, I assumed
> the name is r-proj.4.  Indeed, upstream names it ’proj4’ without dot.
> Therefore, let use ’r-proj4’.

Okay, done.  This is also what the importer should have generated.

Thanks again for the patches!

-- 
Ricardo




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

end of thread, other threads:[~2022-09-10  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 14:55 [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 zimoun
2022-09-08 14:56 ` [bug#57678] [PATCH 1/2] gnu: Add r-proj.4 zimoun
2022-09-08 14:56   ` [bug#57678] [PATCH 2/2] gnu: Add r-ggalt zimoun
2022-09-09  6:36 ` [bug#57678] [PATCH 0/2] Add r-ggalt and r-proj.4 Ricardo Wurmus
2022-09-09  7:53   ` zimoun
2022-09-10  7:48     ` bug#57678: " Ricardo Wurmus

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).