mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 23:05:57 +02:00
gnu: Remove r-sgloptim.
The package has been removed CRAN and now fails to build. There are no other users of this package in this repository. * gnu/packages/patches/r-sgloptim.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/cran.scm (r-sgloptim): Remove variable. Change-Id: Ic0e91bc6e2051f0e3a0743c0aaf75b22c2add35a
This commit is contained in:
@@ -2183,7 +2183,6 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/rdkit-unbundle-external-dependencies.patch \
|
||||
%D%/packages/patches/r-httpuv-1.6.6-unvendor-libuv.patch \
|
||||
%D%/packages/patches/r-sapa-lapack.patch \
|
||||
%D%/packages/patches/r-sgloptim.patch \
|
||||
%D%/packages/patches/ripperx-missing-file.patch \
|
||||
%D%/packages/patches/rpcbind-CVE-2017-8779.patch \
|
||||
%D%/packages/patches/rtags-separate-rct.patch \
|
||||
|
||||
+8
-37
@@ -40309,43 +40309,6 @@ Confidence Intervals} (ICI), variational approaches, and a non-local means
|
||||
filter.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public r-sgloptim
|
||||
(package
|
||||
(name "r-sgloptim")
|
||||
(version "1.3.8")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (cran-uri "sglOptim" version))
|
||||
(sha256
|
||||
(base32
|
||||
"15bkkvgp9v9vsp65wps48g3c2fa0fj1025hbrziywq14j7wayyjr"))
|
||||
(patches (search-patches "r-sgloptim.patch"))))
|
||||
(properties
|
||||
`((upstream-name . "sglOptim")))
|
||||
(build-system r-build-system)
|
||||
(propagated-inputs
|
||||
(list r-bh
|
||||
r-doparallel
|
||||
r-foreach
|
||||
r-matrix
|
||||
r-rcpp
|
||||
r-rcpparmadillo
|
||||
r-rcppprogress))
|
||||
(native-inputs
|
||||
(list r-knitr))
|
||||
(home-page "https://github.com/nielsrhansen/sglOptim")
|
||||
(synopsis "Generic sparse group Lasso solver")
|
||||
(description
|
||||
"This package provides a fast generic solver for sparse group lasso
|
||||
optimization problems. The loss (objective) function must be defined in a C++
|
||||
module. The optimization problem is solved using a coordinate gradient
|
||||
descent algorithm. Convergence of the algorithm is established and the
|
||||
algorithm is applicable to a broad class of loss functions. Use of parallel
|
||||
computing for cross validation and subsampling is supported through the
|
||||
@code{foreach} and @code{doParallel} packages.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public r-grouped
|
||||
(package
|
||||
(name "r-grouped")
|
||||
@@ -47531,6 +47494,14 @@ package.")
|
||||
"00dbkxzc2ysrcfs8774b5hdadsssg1716hf13kn8jwpk4zpfn9zd"))))
|
||||
(properties `((upstream-name . "qs")))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
;; XXX: tests/correctness_testing.R aborts when doing a data.frame test.
|
||||
(add-after 'unpack 'disable-bad-tests
|
||||
(lambda _
|
||||
(delete-file "tests/correctness_testing.R"))))))
|
||||
(inputs (list lz4 zlib (list zstd "lib")))
|
||||
(propagated-inputs
|
||||
(list r-bh r-rapiserialize r-rcpp r-stringfish))
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
From cb9a15eb9d558b2b4b67f9e6806b394f65bff01f Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Eddelbuettel <edd@debian.org>
|
||||
Date: Wed, 30 Nov 2022 20:15:42 -0600
|
||||
Subject: [PATCH] Simplify includes and only include RcppArmadillo.h
|
||||
|
||||
---
|
||||
inst/include/sgl.h | 14 +++++---------
|
||||
1 file changed, 5 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/inst/include/sgl.h b/inst/include/sgl.h
|
||||
index a36011e..869a295 100644
|
||||
--- a/inst/include/sgl.h
|
||||
+++ b/inst/include/sgl.h
|
||||
@@ -21,13 +21,12 @@
|
||||
|
||||
#define R_NO_REMAP
|
||||
|
||||
+//R, Rcpp, RcppArmadillo
|
||||
+#include <RcppArmadillo.h>
|
||||
+
|
||||
//Progress monitor
|
||||
#include <progress.hpp>
|
||||
|
||||
-//Rcpp ect
|
||||
-#include <RcppCommon.h>
|
||||
-#include <Rconfig.h>
|
||||
-#include <RcppArmadilloConfig.h>
|
||||
|
||||
// Debugging
|
||||
#ifdef SGL_DEBUG
|
||||
@@ -45,8 +44,10 @@
|
||||
#else
|
||||
// Do no debugging
|
||||
#define ARMA_NO_DEBUG
|
||||
+#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
// Registration helper macros
|
||||
#define STR_VALUE(x) #x
|
||||
@@ -59,11 +60,6 @@
|
||||
|
||||
#define CALL_METHOD(METHOD, MODULE, ARGS) {GET_STR_VALUE(FUN_NAME(METHOD,MODULE)), (DL_FUNC) &r_ ## MODULE ## _ ## METHOD, ARGS}
|
||||
|
||||
-//Support for xl matrices
|
||||
-//#define ARMA_64BIT_WORD
|
||||
-
|
||||
-#include <armadillo>
|
||||
-#include <Rcpp.h>
|
||||
|
||||
//Boost
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
Reference in New Issue
Block a user