From patchwork Mon Aug 22 08:42:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 41856 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B289A27BBEA; Mon, 22 Aug 2022 09:44:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 640BD27BBE9 for ; Mon, 22 Aug 2022 09:44:43 +0100 (BST) Received: from localhost ([::1]:33546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ334-0001if-IR for patchwork@mira.cbaines.net; Mon, 22 Aug 2022 04:44:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ32R-0000sm-9y for guix-patches@gnu.org; Mon, 22 Aug 2022 04:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ32R-00037S-18 for guix-patches@gnu.org; Mon, 22 Aug 2022 04:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ32P-00043A-O4; Mon, 22 Aug 2022 04:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57335] [PATCH] gnu: Add r-polylabelr. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Mon, 22 Aug 2022 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57335@debbugs.gnu.org Cc: rekado@elephly.net X-Debbugs-Original-To: X-Debbugs-Original-Xcc: rekado@elephly.net Received: via spool by submit@debbugs.gnu.org id=B.166115780215497 (code B ref -1); Mon, 22 Aug 2022 08:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2022 08:43:22 +0000 Received: from localhost ([127.0.0.1]:37730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ31l-00041t-TE for submit@debbugs.gnu.org; Mon, 22 Aug 2022 04:43:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:48710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ31h-00041j-JA for submit@debbugs.gnu.org; Mon, 22 Aug 2022 04:43:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ31h-0000pr-1f for guix-patches@gnu.org; Mon, 22 Aug 2022 04:43:17 -0400 Received: from c2062.mx.srv.dfn.de ([194.95.238.172]:46655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ31e-00034A-Mz for guix-patches@gnu.org; Mon, 22 Aug 2022 04:43:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1661157775; x=1662972176; bh=sxPvo6EzXs+LGQG O1W6YKEGodmfx4kdUVNazA2vfQgk=; b=mYCsVE3jiYK0Si2PcDdWq54oLGu0kpv okgR/HbKTNv/Ozx6Eqlh9McgUxWjzJ8aZzubPvJQV5KkqTYZm9aKXpAiwjOgt9XC GxmBQIpcNsfXXAnfA1VdN4duEU2zEY2vN2m2Xx6Q+KAbrNGrJzAd5baY1bqgnO4e KPUKlNj/csCI= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by c2062.mx.srv.dfn.de (Postfix) with ESMTPS id D47D3300259 for ; Mon, 22 Aug 2022 10:42:55 +0200 (CEST) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.12; Mon, 22 Aug 2022 10:42:55 +0200 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Mon, 22 Aug 2022 10:42:44 +0200 Message-ID: <20220822084244.28534-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27092.006 X-TM-AS-Result: No-10--6.483400-5.000000 X-TMASE-MatchedRID: I6rpFm0lrcP/R1NSMc2qCU7nLUqYrlslFIuBIWrdOePfUZT83lbkEOHX C6tRk611ZRUjkVFROF7uNT8xdcEnQ9G5/ZtK3riSZEKL9WloxNf0VPvT0zx0mKY5ZGw7wyeH1NI AVdtCMR1bWgo6SW4dHMign5HsLTCTuJXEeLLJ6+yrm7DrUlmNkIAy6p60ZV62yA7duzCw6dLdB/ CxWTRRu92KvEVWmYr1Yx+xwBIJVZlEhD1EK7pKpbvlqqJ9vka5BHaIRQY5MowC1DLvuUxbgA== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.483400-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27092.006 X-TM-SNTS-SMTP: 3B67C2B0CA0DEFCB048C7C754B6A8897BD7191CD2745F3870BD3BB493A7C081B2002:F Received-SPF: pass client-ip=194.95.238.172; envelope-from=MadalinIonel.Patrascu@mdc-berlin.de; helo=c2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cran.scm (r-polylabelr): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) base-commit: 706b3ef38b2f7ce9f05aa56e2eaaaf1c19e25f90 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")