From patchwork Mon Jun 29 05:50:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Lo X-Patchwork-Id: 22937 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 E180D27BBE3; Mon, 29 Jun 2020 06:52:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A57CA27BBE1 for ; Mon, 29 Jun 2020 06:52:10 +0100 (BST) Received: from localhost ([::1]:32922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpmiA-0002wY-4U for patchwork@mira.cbaines.net; Mon, 29 Jun 2020 01:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpmi2-0002wE-Ge for guix-patches@gnu.org; Mon, 29 Jun 2020 01:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpmi2-0006kt-8c for guix-patches@gnu.org; Mon, 29 Jun 2020 01:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpmi2-00029E-75 for guix-patches@gnu.org; Mon, 29 Jun 2020 01:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42117] [PATCH 04/17] gnu: Add r-yardstick. Resent-From: Peter Lo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Jun 2020 05:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42117 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42117@debbugs.gnu.org Cc: Peter Lo Received: via spool by 42117-submit@debbugs.gnu.org id=B42117.15934098658039 (code B ref 42117); Mon, 29 Jun 2020 05:52:02 +0000 Received: (at 42117) by debbugs.gnu.org; 29 Jun 2020 05:51:05 +0000 Received: from localhost ([127.0.0.1]:47510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpmh7-00025Y-5a for submit@debbugs.gnu.org; Mon, 29 Jun 2020 01:51:05 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:33979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpmh1-00023X-1q for 42117@debbugs.gnu.org; Mon, 29 Jun 2020 01:50:59 -0400 Received: by mail-pf1-f181.google.com with SMTP id u185so5389378pfu.1 for <42117@debbugs.gnu.org>; Sun, 28 Jun 2020 22:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=17/OKrYs6WSYPtqw7kMJ+zfSHPq6HWPp+54oJJG34uE=; b=t6sng2R72vjVofJJikxPme+myxayEdbDS0uNF9UkWxaEMjxbodh0uma7tSG+gaImHR N3ApLSUh7ja44i+RkCJoe4qvVdsMu+PbRNGRbp7HKILY/uaCuudRw+5hJu3NLhog4o71 74Urj4As9HdzHw9exq5jEmBtUcAWBKYmpMAy/4VSmRd/S4ecC1sWs3O+ei4LakwHhsGQ fyjVj+cZ4c9xPkQ0sakftMhN4G0FNGyR8N0G9wd7qhiexRujYUX2ckMO18EYBRTwCZ/d CsPQpdscM9NZ+yEb1sb5Qfqw9T1iwt/GtiQDt0lRWE4D5QpSrnROCj9f/ApuMfR8A8xq suiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=17/OKrYs6WSYPtqw7kMJ+zfSHPq6HWPp+54oJJG34uE=; b=iuEJT79+ddit3AI9iksuXgAlFL43gxhkhEndNMS+iS2s/AiBEnoi6tYsTVRcf/l+Gz s91P7aiaAFsQfgSxRCA79IQvY8/j/JfTSVvPQXjZul5qFmL37vi5me6AaQaN4AqJi3Se q0bHqEPu5xlfU3hF8ZmVOXvOeEn5YpmySVdKfGMUtFaMvGCxa3gqnzmATeN2TBm5xgqT oWlWJjgwRHJMeeo2PpzuBr+kXfr1QYGnzG/B3X2ocQRxCTiY//WVPeUJjQV2g160QOp8 rcf8HWBCyg+PyFHstDymVpdx9OE2Da0ugMj/ht2N3DfQtz6p8AkM47AQYICiVv5M/VFD cVlg== X-Gm-Message-State: AOAM531Ou318oVelks00NuHiLYn1V0OLqWizi2MwOL70gKvwD5NnuyHq FhHX8S9ws7Ova7UutyJKc5JpLB7BL/I= X-Google-Smtp-Source: ABdhPJwJgDK7RYta06w2gxrHMY3tga1RHNkjCAHq/bRS2yFMzKFC6Od8swSFQThzpqHvzT/gMUHmIw== X-Received: by 2002:a63:6c1:: with SMTP id 184mr9234100pgg.262.1593409852822; Sun, 28 Jun 2020 22:50:52 -0700 (PDT) Received: from localhost.localdomain (059149170072.ctinets.com. [59.149.170.72]) by smtp.gmail.com with ESMTPSA id w135sm12985234pfc.106.2020.06.28.22.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 22:50:52 -0700 (PDT) From: Peter Lo Date: Mon, 29 Jun 2020 13:50:29 +0800 Message-Id: <20200629055042.8565-4-peterloleungyau@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629055042.8565-1-peterloleungyau@gmail.com> References: <20200629055042.8565-1-peterloleungyau@gmail.com> 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-yardstick): New variable. --- gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f101ccd285..34b0591b27 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22414,3 +22414,34 @@ the same object.") "This package provides a computationally stable approach of fitting a Gaussian Process (GP) model to a deterministic simulator.") (license license:gpl2))) + +(define-public r-yardstick + (package + (name "r-yardstick") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "yardstick" version)) + (sha256 + (base32 + "1qkvbvc0cnwl5mkk47swnd8by84zz0qpy1996fziapn35qxvx9qa")))) + (properties `((upstream-name . "yardstick"))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-generics" ,r-generics) + ("r-proc" ,r-proc) + ("r-rcpp" ,r-rcpp) + ("r-rlang" ,r-rlang) + ("r-tidyselect" ,r-tidyselect))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page + "https://github.com/tidymodels/yardstick") + (synopsis + "Tidy Characterizations of Model Performance") + (description + "Tidy tools for quantifying how well model fits to a data set +such as confusion matrices, class probability curve summaries, and +regression metrics (e.g., RMSE).") + (license license:gpl2)))