From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: 57335@debbugs.gnu.org
Cc: rekado@elephly.net
Subject: [bug#57335] [PATCH] gnu: Add r-polylabelr.
Date: Mon, 22 Aug 2022 10:42:44 +0200 [thread overview]
Message-ID: <20220822084244.28534-1-madalinionel.patrascu@mdc-berlin.de> (raw)
* gnu/packages/cran.scm (r-polylabelr): 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 e03b707162..35b7efb672 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1483,6 +1483,28 @@ (define-public r-polychrome
colleagues (2019) @url{https://doi:10.18637/jss.v090.c01}.")
(license license:asl2.0)))
+(define-public r-polylabelr
+ (package
+ (name "r-polylabelr")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "polylabelr" version))
+ (sha256
+ (base32
+ "01b2v0l5g8nxwbd6nwqv8ahypgh6gfhd4qabg75brlj7z1iyfzf2"))))
+ (properties `((upstream-name . "polylabelr")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rcpp))
+ (home-page "https://github.com/jolars/polylabelr")
+ (synopsis "Finding pole of inaccessibility (visual center) of a polygon")
+ (description
+ "This package provides a wrapper around the @code{C++} library @code{
+polylabel} from @code{Mapbox}, providing an efficient routine for finding the
+approximate pole of inaccessibility of a polygon, which usually serves as an
+excellent candidate for labeling of a polygon.")
+ (license license:expat)))
+
(define-public r-poorman
(package
(name "r-poorman")
base-commit: 706b3ef38b2f7ce9f05aa56e2eaaaf1c19e25f90
--
2.37.2
next reply other threads:[~2022-08-22 8:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 8:42 Mădălin Ionel Patrașcu [this message]
2022-08-22 9:19 ` bug#57335: [PATCH] gnu: Add r-polylabelr 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220822084244.28534-1-madalinionel.patrascu@mdc-berlin.de \
--to=madalinionel.patrascu@mdc-berlin.de \
--cc=57335@debbugs.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 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).