From patchwork Tue Mar 8 19:06:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 37689 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 C72EE27BBEA; Tue, 8 Mar 2022 19:07:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 8F62527BBE9 for ; Tue, 8 Mar 2022 19:07:33 +0000 (GMT) Received: from localhost ([::1]:52204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRfBE-0004mV-NC for patchwork@mira.cbaines.net; Tue, 08 Mar 2022 14:07:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRfAl-00041e-RE for guix-patches@gnu.org; Tue, 08 Mar 2022 14:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRfAl-0002c3-Iv for guix-patches@gnu.org; Tue, 08 Mar 2022 14:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRfAl-0003yz-EA for guix-patches@gnu.org; Tue, 08 Mar 2022 14:07:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54303] [PATCH 5/6] gnu: Add r-ga. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Mar 2022 19:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54303@debbugs.gnu.org Cc: zimoun Received: via spool by 54303-submit@debbugs.gnu.org id=B54303.164676640315240 (code B ref 54303); Tue, 08 Mar 2022 19:07:03 +0000 Received: (at 54303) by debbugs.gnu.org; 8 Mar 2022 19:06:43 +0000 Received: from localhost ([127.0.0.1]:57936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRfAQ-0003xi-Kp for submit@debbugs.gnu.org; Tue, 08 Mar 2022 14:06:42 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:42881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRfAL-0003wX-1a for 54303@debbugs.gnu.org; Tue, 08 Mar 2022 14:06:37 -0500 Received: by mail-wr1-f48.google.com with SMTP id u10so28438436wra.9 for <54303@debbugs.gnu.org>; Tue, 08 Mar 2022 11:06:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bmVVo4QHZeDz1/1Cxsh7GHOGFMW561EEABu0sCxH9KE=; b=hEsSSstgrHh6c0GDeZk5epDZlsV+lh1ccPwfbqjHztjzJiMH3yoCrowYJ0VCVFxHyd YXkLh6y9JXh5QkA8mvjxJ3ktiYzXri+VleRnb0G/naMQHLJi10SC4iIXwLrU/bp9wpCa ZV4KF+phciEHQdMfWx3zLcHKRcmpfZMcTwaFEP7mXsHVkfkjSvaATh4glD5/lhS9StQs gOzIot2xxg4j/vM/fRDACiMKYWKGSiOMs/8a3+7chWN9Zdt5S0XPEF4uCy874SUsa9Xh 6ZENkuTFQL6gBizaDu0DkuSyyRHrGe7YYwg5jGnbx+jsTZnk+FpbhgLcSHEzEI6N6TpB 3WXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bmVVo4QHZeDz1/1Cxsh7GHOGFMW561EEABu0sCxH9KE=; b=d0G1JetP12ayNrEgBf+EjXvjDlj7rPSQ3CUTyFtt0G9xpE6CO+wn7AiUlAB6YlKTFH qW5zfpnR0IZSRYWTpgV4Mz7bilKZ2sKJupGQ+4dBiFaCB3ec4icNT69dDepHshWxSzDw ox33qPyFBLnAXIIk0dxrxoZcSbXjT2TuwfJhHGwcSvBQQzpZJ8ljqbUQF3lzqRquKuIn r2UKsmsHjukB46367kFVKTodImtkzaHywUZSDQTrRrbxhxLO+FZeV83xh4JqQuEM4EGN dVOw2wxJukfrFQIEA6got8jAXjwd1Wlsv8uVLCrZU2hPwHbsiZ5YGQZlUIwmmpRlyzOd gLqw== X-Gm-Message-State: AOAM531iEBCb9CLrBr8wzGlOn+zDCHCq8/znzB5DPdcRZGiuXnbMHnIO vPsOlWcESfGx13EWW5YxOp8OoujPqh8= X-Google-Smtp-Source: ABdhPJy4YEVCl+idY+XGlzg1XRfqC6bmd85pGXJeqLGWSeB6ljKxn72KesLe/XVrIFKKcWmPYHY5MQ== X-Received: by 2002:adf:b1da:0:b0:1f0:1205:89c1 with SMTP id r26-20020adfb1da000000b001f0120589c1mr13170272wra.27.1646766391458; Tue, 08 Mar 2022 11:06:31 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id m34-20020a05600c3b2200b00380e3225af9sm3335969wms.0.2022.03.08.11.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 11:06:31 -0800 (PST) From: zimoun Date: Tue, 8 Mar 2022 20:06:16 +0100 Message-Id: <20220308190617.1011563-5-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220308190617.1011563-1-zimon.toutoune@gmail.com> References: <20220308190617.1011563-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 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-ga): New variable. --- gnu/packages/cran.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index cd19de60b3..1fd57fb22c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1216,6 +1216,42 @@ (define-public r-ellipsis are not used.") (license license:gpl3))) +(define-public r-ga + (package + (name "r-ga") + (version "3.2.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "GA" version)) + (sha256 + (base32 "135z03lnbj44jihnk6dii5a684jmc666ncpdwyyi910vl4sccib2")))) + (properties `((upstream-name . "GA"))) + (build-system r-build-system) + (propagated-inputs + (list r-cli + r-crayon + r-foreach + r-iterators + r-rcpp + r-rcpparmadillo)) + (native-inputs + (list r-knitr)) + (home-page "https://luca-scr.github.io/GA/") + (synopsis "Genetic algorithms for stochastic optimisation") + (description + "Flexible general-purpose toolbox implementing genetic algorithms (GAs) +for stochastic optimisation. Binary, real-valued, and permutation +representations are available to optimize a fitness function, i.e., a function +provided by users depending on their objective function. Several genetic +operators are available and can be combined to explore the best settings for +the current task. Furthermore, users can define new genetic operators and +easily evaluate their performances. Local search using general-purpose +optimisation algorithms can be applied stochastically to exploit interesting +regions. GAs can be run sequentially or in parallel, using an explicit +master-slave parallelisation or a coarse-grain islands approach.") + (license license:gpl2+))) + (define-public r-grr (package (name "r-grr")