Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve cran test errors #4

Merged
merged 1 commit into from
Dec 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion R-proj/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export(gen_rand_vpoly)
export(gen_rand_zonotope)
export(gen_simplex)
export(gen_skinny_cube)
export(get_full_dimensional_polytope)
export(geweke)
export(inner_ball)
export(loadSdpaFormatFile)
Expand Down
15 changes: 0 additions & 15 deletions R-proj/R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,6 @@ frustum_of_simplex <- function(a, z0) {
.Call(`_volesti_frustum_of_simplex`, a, z0)
}

#' Internal rcpp function to compute the full dimensional polytope when a low dimensional is given
#'
#' @param P A low dimensional convex polytope in H-representation.
#'
#' @keywords internal
#'
#' @return A numerical matrix that describes the full dimensional polytope, a numerical matrix of the inverse
#' linear transformation that is applied on the input polytope, the numerical vector - point that the
#' input polytope is shifted and the product of the singular values of the matrix of the linear map
#' applied on the input polytope.
#'
full_dimensional_polytope <- function(P) {
.Call(`_volesti_full_dimensional_polytope`, P)
}

#' Geweke's MCMC diagnostic
#'
#' @param samples A matrix that contans column-wise the sampled points from a geometric random walk.
Expand Down
29 changes: 0 additions & 29 deletions R-proj/R/get_full_dimensional_polytope.R

This file was deleted.

21 changes: 0 additions & 21 deletions R-proj/man/full_dimensional_polytope.Rd

This file was deleted.

23 changes: 0 additions & 23 deletions R-proj/man/get_full_dimensional_polytope.Rd

This file was deleted.

62 changes: 0 additions & 62 deletions R-proj/src/get_full_dimensional_polytope.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion R-proj/src/rounding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Rcpp::List rounding (Rcpp::Reference P,
// Hpolytope

if (Rcpp::as<MT>(P.field("Aeq")).rows() > 0) {
throw Rcpp::exception("volesti supports rounding for full dimensional polytopes. Maybe call function get_full_dimensional_polytope()");
throw Rcpp::exception("volesti supports rounding for full dimensional polytopes");
}
Hpolytope HP(n, Rcpp::as<MT>(P.field("A")), Rcpp::as<VT>(P.field("b")));
InnerBall = HP.ComputeInnerBall();
Expand Down
3 changes: 0 additions & 3 deletions R-proj/test_spectra.R

This file was deleted.