Package Details: r-e1071 1.7.11-1

Git Clone URL: https://aur.archlinux.org/r-e1071.git (read-only, click to copy)
Package Base: r-e1071
Description: Functions for latent class analysis, short time Fourier transform, fuzzy clustering, support vector machines, shortest path computation, bagged clustering, naive Bayes classifier, ...
Upstream URL: https://cran.r-project.org/web/packages/e1071
Licenses: GPL
Replaces: r-cran-e1071
Submitter: editicalu
Maintainer: editicalu
Last Packager: editicalu
Votes: 2
Popularity: 0.000050
First Submitted: 2018-12-17 23:03 (UTC)
Last Updated: 2022-06-21 08:48 (UTC)

Latest Comments

ragreener1 commented on 2022-06-19 21:03 (UTC)

Hi, would you update it, either using the patch below, or by updating it yourself. It currently FTBFS.

Thanks!

ragreener1 commented on 2022-06-08 12:41 (UTC)

You may wish to use this patch to update it. This changes the repo to MRAN - a snapshot of CRAN. This means that if this package goes out-of-date again it will continue to build once the old version is removed from CRAN.

From ce3a882f1a78472282af08db779cd54727c3c460 Mon Sep 17 00:00:00 2001
From: Robert Greener <me@r0bert.dev>
Date: Wed, 8 Jun 2022 13:40:03 +0100
Subject: [PATCH] Use MRAN and update to latest version

Signed-off-by: Robert Greener <me@r0bert.dev>
---
 .SRCINFO | 6 +++---
 PKGBUILD | 8 +++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 4ebaf42..6a53012 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = r-e1071
    pkgdesc = Functions for latent class analysis, short time Fourier transform, fuzzy clustering, support vector machines, shortest path computation, bagged clustering, naive Bayes classifier, ...
-   pkgver = 1.7.9
+   pkgver = 1.7.11
    pkgrel = 1
    url = https://cran.r-project.org/web/packages/e1071
    arch = x86_64
@@ -8,7 +8,7 @@ pkgbase = r-e1071
    depends = r
    depends = r-proxy
    replaces = r-cran-e1071
-   source = https://cran.r-project.org/src/contrib/e1071_1.7-9.tar.gz
-   sha512sums = 3f2d20bc7728f754e1698a4443f5f0bf9fd2d2ac1d68d5b175ed4c8e9b257062204e5ebc3ecf1579acfcd744c4c03dad82fb1fb604c529e6091052090d313216
+   source = https://cran.microsoft.com/snapshot/2022-06-08/src/contrib/e1071_1.7-11.tar.gz
+   sha512sums = 918c84812b9cdf5b2b9179810366672d21c6cfbac8b5644af326af4f3e30754bc1308de29f6c16d021c651ee46ce0ce80cae093b589b8cf7df5c2aa53bf669ea

 pkgname = r-e1071
diff --git a/PKGBUILD b/PKGBUILD
index 2d3608e..3fbdc31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,9 @@
 # Maintainer: Ward Segers <w@rdsegers.be>
 # Contributor: Alex Branham <alex.branham@gmail.com>
+# Contributor: Robert Greener <me@r0bert.dev>

-_cranver=1.7-9
+_cranver=1.7-11
+_updatedate=2022-06-08
 pkgname=r-e1071
 pkgver=${_cranver//[:-]/.}
 pkgrel=1
@@ -11,8 +13,8 @@ url='https://cran.r-project.org/web/packages/e1071'
 license=('GPL')
 depends=('r' 'r-proxy')
 replaces=('r-cran-e1071')
-source=("https://cran.r-project.org/src/contrib/e1071_"$_cranver".tar.gz")
-sha512sums=('3f2d20bc7728f754e1698a4443f5f0bf9fd2d2ac1d68d5b175ed4c8e9b257062204e5ebc3ecf1579acfcd744c4c03dad82fb1fb604c529e6091052090d313216')
+source=("https://cran.microsoft.com/snapshot/${_updatedate}/src/contrib/e1071_"$_cranver".tar.gz")
+sha512sums=('918c84812b9cdf5b2b9179810366672d21c6cfbac8b5644af326af4f3e30754bc1308de29f6c16d021c651ee46ce0ce80cae093b589b8cf7df5c2aa53bf669ea')

 build(){
     R CMD INSTALL e1071_"$_cranver".tar.gz -l "$srcdir"
-- 
2.36.1