volesti
volesti copied to clipboard
Volesti v1.1.4 installation failure (R interface)
Hello everyone, I am trying to upgrade Volesti from 1.1.3 to 1.1.4 in R. The operation system is win10, with R 4.1.0 and Rtools properly installed. The installation instruction in the following link can successfully install volesti 1.1.3, howerver, it cannot install volesti 1.1.4 successfully. https://github.com/GeomScale/volesti/blob/2e6572d9ba757de311f2a55b09abf8f9c02e932e/doc/r_interface.md
I tried to install volesti 1.1.4 with instruction in the link, the error information is : "In file included from ../../include/convex_bodies/hpolytope.h:21, from ../../include/volume/volume_sequence_of_balls.hpp:21, from direct_sampling.cpp:19: ../../include/lp_oracles/solve_lp.h:32:10: fatal error: lp_lib.h: No such file or directory #include "lp_lib.h" ^~~~~~~~~~ compilation terminated."
I think the error is related to the fact that lp_solve is not included in volesti directory root/include/lp_oracles. I understand that lp_solve is designed to be downloaded in the complie process. However, it did not work in this case.
Could you please update the installation instruction applicable to v 1.1.4? Or is it possible to update the CRAN version to v1.1.4? The link is https://cran.r-project.org/web/packages/volesti/index.html. I think another possible solution is to provide an additional version with lp_solve included locally, like v1.1.3.
Thanks a lot!
It seems that v1.1.4 builds correctly on windows on CI see https://github.com/GeomScale/volesti/runs/5186310857?check_suite_focus=true
What if you follow the instructions in the corresponding workflow? https://github.com/GeomScale/volesti/blob/develop/.github/workflows/R-CMD-check-windows.yml
However, this is a workaround since the workflow generates and builds the cran package.
@vissarion is this issue still open. I am unable to find volesti v1.1.4 in the archive
https://github.com/GeomScale/volesti/tree/v1.1.4