Skip to content

Commit 3a79275

Browse files
committed
New CRAN version 1.1.2-3 fixing clang-15 warnings in lp-solve.
1 parent 102c414 commit 3a79275

File tree

7 files changed

+29
-26
lines changed

7 files changed

+29
-26
lines changed

R-proj/DESCRIPTION

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@ Author: Vissarion Fisikopoulos <[email protected]> [aut, cph, cre
66
Apostolos Chalkis <[email protected]> [cph, aut],
77
contributors in file inst/AUTHORS
88
Copyright: file inst/COPYRIGHTS
9-
Description: Provides an R interface for 'volesti' C++ package. 'volesti' computes estimations of volume
10-
of polytopes given by (i) a set of points, (ii) linear inequalities or (iii) Minkowski sum of segments
11-
(a.k.a. zonotopes). There are three algorithms for volume estimation as well as algorithms
12-
for sampling, rounding and rotating polytopes. Moreover, 'volesti' provides algorithms for
13-
estimating copulas useful in computational finance.
14-
Version: 1.1.2-2
15-
Date: 2021-07-14
9+
Description: Provides an R interface for 'volesti' C++ package. 'volesti' computes estimations of volume
10+
of polytopes given by (i) a set of points, (ii) linear inequalities or (iii) Minkowski sum of segments
11+
(a.k.a. zonotopes). There are three algorithms for volume estimation as well as algorithms
12+
for sampling, rounding and rotating polytopes. Moreover, 'volesti' provides algorithms for
13+
estimating copulas useful in computational finance. Methods implemented in 'volesti' are described
14+
in A. Chalkis and V. Fisikopoulos (2022) <doi:10.32614/RJ-2021-077> and references therein.
15+
Version: 1.1.2-3
16+
Date: 2022-10-12
1617
Maintainer: Vissarion Fisikopoulos <[email protected]>
1718
Depends: Rcpp (>= 0.12.17)
1819
Imports: methods, stats
1920
LinkingTo: Rcpp, RcppEigen, BH
2021
Suggests: testthat
2122
Encoding: UTF-8
2223
RoxygenNote: 7.1.1
23-
BugReports: https://github.com/GeomScale/volume_approximation/issues
24+
BugReports: https://github.com/GeomScale/volesti/issues

R-proj/R/RcppExports.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ volume <- function(P, settings = NULL, rounding = FALSE) {
293293
#' @param output_file Name of the output file
294294
#'
295295
#' @examples
296-
#' \dontrun{
296+
#' \donttest{
297297
#' A0 = matrix(c(-1,0,0,0,-2,1,0,1,-2), nrow=3, ncol=3, byrow = TRUE)
298298
#' A1 = matrix(c(-1,0,0,0,0,1,0,1,0), nrow=3, ncol=3, byrow = TRUE)
299299
#' A2 = matrix(c(0,0,-1,0,0,0,-1,0,0), nrow=3, ncol=3, byrow = TRUE)

R-proj/man/write_sdpa_format_file.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

R-proj/src/write_sdpa_format_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//' @param output_file Name of the output file
3030
//'
3131
//' @examples
32-
//' \dontrun{
32+
//' \donttest{
3333
//' A0 = matrix(c(-1,0,0,0,-2,1,0,1,-2), nrow=3, ncol=3, byrow = TRUE)
3434
//' A1 = matrix(c(-1,0,0,0,0,1,0,1,0), nrow=3, ncol=3, byrow = TRUE)
3535
//' A2 = matrix(c(0,0,-1,0,0,0,-1,0,0), nrow=3, ncol=3, byrow = TRUE)

cran_gen/NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@
3939

4040
- Remove `loadSdpaFormatFile()` and `readSdpaFormatFile()` functions.
4141

42+
# volesti 1.1.2-3
4243

44+
- Remove unneeded-internal-declaration warning in clang-15

cran_gen/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
# Volume computation and sampling
22

3-
## About
4-
The `volesti` package provides [R](https://www.r-project.org/) with functions for volume estimation and sampling. In particular, it provides an R interface for the C++ library [**volesti**](https://github.com/GeomScale/volume_approximation).
3+
## About
4+
The `volesti` package provides [R](https://www.r-project.org/) with functions for volume estimation and sampling. In particular, it provides an R interface for the C++ library [**volesti**](https://github.com/GeomScale/volesti).
55

66
`volesti` computes approximations of volume of polytopes given as a set of points or linear inequalities or as a Minkowski sum of segments (zonotopes). There are algorithms for volume approximation as well as algorithms for sampling, rounding and rotating polytopes. Last but not least, `volesti` provides implementations of geometric algorithms to compute the score of a portfolio given asset returns and to detect financial crises in stock markets.
77

8-
## Download and install
8+
## Download and install
99

1010
* The latest stable version is available from CRAN.
11-
* The latest development version is available on Github `www.github.com/GeomScale/volume_approximation`
11+
* The latest development version is available on Github `www.github.com/GeomScale/volesti`
1212

13-
* Install `volesti` by running:
13+
* Install `volesti` by running:
1414
```
1515
install.packages("volesti")
1616
```
17-
* The package-dependencies are: `Rcpp`, `RcppEigen`, `BH`.
17+
* The package-dependencies are: `Rcpp`, `RcppEigen`, `BH`.
1818

1919
## Documentation
2020

21-
* [Using the R Interface](https://github.com/GeomScale/volume_approximation/blob/v1.1.1/doc/r_interface.md)
22-
* [Wikipage with Tutorials and Demos](https://github.com/GeomScale/volume_approximation/wiki)
21+
* [Using the R Interface](https://github.com/GeomScale/volesti/blob/v1.1.1/doc/r_interface.md)
22+
* [Wikipage with Tutorials and Demos](https://github.com/GeomScale/volesti/wiki)
2323
* [Tutorial given to PyData meetup](https://vissarion.github.io/tutorials/volesti_tutorial_pydata.html)
2424

2525

2626
## Credits
2727

28-
* [Contributors and Package History](https://github.com/GeomScale/volume_approximation/blob/v1.1.1/doc/credits.md)
29-
* [List of Publications](https://github.com/GeomScale/volume_approximation/blob/v1.1.1/doc/publications.md)
28+
* [Contributors and Package History](https://github.com/GeomScale/volesti/blob/v1.1.1/doc/credits.md)
29+
* [List of Publications](https://github.com/GeomScale/volesti/blob/v1.1.1/doc/publications.md)
3030

31-
Copyright (c) 2012-2020 Vissarion Fisikopoulos
32-
Copyright (c) 2018-2020 Apostolos Chalkis
31+
Copyright (c) 2012-2020 Vissarion Fisikopoulos
32+
Copyright (c) 2018-2020 Apostolos Chalkis
3333

34-
You may redistribute or modify the software under the GNU Lesser General Public License as published by Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
34+
You may redistribute or modify the software under the GNU Lesser General Public License as published by Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
3535

external/LPsolve_src/include/lp_rlp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,9 +1655,9 @@ static int lp_yy_get_next_buffer (lp_yyscan_t lp_yyscanner)
16551655

16561656
#ifndef YY_NO_INPUT
16571657
#ifdef __cplusplus
1658-
static int lp_yyinput (lp_yyscan_t lp_yyscanner)
1658+
static inline int lp_yyinput (lp_yyscan_t lp_yyscanner)
16591659
#else
1660-
static int input (lp_yyscan_t lp_yyscanner)
1660+
static inline int input (lp_yyscan_t lp_yyscanner)
16611661
#endif
16621662

16631663
{

0 commit comments

Comments
 (0)