From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id JQkkKoqhG2DWPAAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 07:26:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6MtOJYqhG2BFYgAAB5/wlQ (envelope-from ) for ; Thu, 04 Feb 2021 07:26:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ADE1E9402D6 for ; Thu, 4 Feb 2021 07:26:01 +0000 (UTC) Received: from localhost ([::1]:58434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7Z1c-0003c8-9r for larch@yhetil.org; Thu, 04 Feb 2021 02:26:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7VIO-0004Wd-7u for guix-patches@gnu.org; Wed, 03 Feb 2021 22:27:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7VIO-0001PO-13 for guix-patches@gnu.org; Wed, 03 Feb 2021 22:27:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7VIN-0007ft-UK for guix-patches@gnu.org; Wed, 03 Feb 2021 22:27:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46286] [PATCH 2/4] gnu: Add r-cachem. Resent-From: Todor =?UTF-8?Q?Kondi=C4=87?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Feb 2021 03:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46286@debbugs.gnu.org Cc: Todor =?UTF-8?Q?Kondi=C4=87?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161240916929368 (code B ref -1); Thu, 04 Feb 2021 03:27:03 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 03:26:09 +0000 Received: from localhost ([127.0.0.1]:39359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7VHU-0007dW-ND for submit@debbugs.gnu.org; Wed, 03 Feb 2021 22:26:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:42842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7TDq-0004Lr-DI for submit@debbugs.gnu.org; Wed, 03 Feb 2021 20:14:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7TDq-0005tb-8M for guix-patches@gnu.org; Wed, 03 Feb 2021 20:14:14 -0500 Received: from mx1.librem.one ([192.241.223.110]:39114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7TDl-0000tD-Mj for guix-patches@gnu.org; Wed, 03 Feb 2021 20:14:14 -0500 Received: from smtp.librem.one (unknown [192.241.214.14]) by mx1.librem.one (Postfix) with ESMTPS id 6552C80753 for ; Wed, 3 Feb 2021 17:14:08 -0800 (PST) From: Todor =?UTF-8?Q?Kondi=C4=87?= Date: Thu, 4 Feb 2021 02:12:59 +0100 Message-Id: <20210204011301.50868-2-kondor@librem.one> In-Reply-To: <20210204011301.50868-1-kondor@librem.one> References: <20210204011301.50868-1-kondor@librem.one> Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.241.223.110; envelope-from=kondor@librem.one; helo=mx1.librem.one X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 03 Feb 2021 22:26:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 04 Feb 2021 02:25:52 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 4.64 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: ADE1E9402D6 X-Spam-Score: 4.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: ed23xRYawot5 * gnu/packages/cran.scm(r-cachem): 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 6f7d07140d..89474a491d 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -25808,3 +25808,27 @@ convenient way to perform nested resampling in combination with @code{mlr3}.") generated by @code{htmltools}. Most R users do not need to use this package directly.") (license license:expat))) + +(define-public r-cachem + (package + (name "r-cachem") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "cachem" version)) + (sha256 + (base32 + "0hann47kpalhi0wp86xkd3j6zbl6x785ciggl86z53znyk1ywx44")))) + (properties `((upstream-name . "cachem"))) + (build-system r-build-system) + (propagated-inputs + `(("r-fastmap" ,r-fastmap) ("r-rlang" ,r-rlang))) + (home-page "https://cachem.r-lib.org/") + (synopsis + "Cache R Objects with Automatic Pruning") + (description + "Key-value stores with automatic pruning. Caches can limit +either their total size or the age of the oldest object (or both), +automatically pruning objects to maintain the constraints.") + (license license:expat))) -- 2.30.0