Hi, on R-hub's Linux builders it is automatically installed if needed, except that it wasn't on Fedora, because of a bug. Please try again, and if it does not work report an issue on R-hub.
On Travis, you'll need to install the required packages yourself in the `.travis.yml` file. On CRAN's machines it should be installed, so nothing to worry about there. If you don't have a Linux machine, but you have a fairly recent macOS or Windows computer, then you can run Linux in Docker. If you ever need to debug issues on Linux. Gabor On Fri, Nov 27, 2020 at 1:33 PM Benjamin Becker <b.bec...@iqb.hu-berlin.de> wrote: > > Dear R developer list, > > I want to add 'Rglpk' as a dependency to a package. On windows and MacOS > everything works fine, but there seem to be installation issues with the > underlying optimization software 'GLPK' on Linux systems. The problem > occurs when testing on Rhub and on Travis (I don't have a local Linux > machine available): > > https://builder.r-hub.io/status/eatATA_0.9.0.tar.gz-bbf79f5120bc435d89eb4ea3f5b62918 > > https://travis-ci.org/github/beckerbenj/eatATA/jobs/743971533 > > with the error message: > > * installing *source* package ‘Rglpk’ ... > > ** package ‘Rglpk’ successfully unpacked and MD5 sums checked > > ** using staged installation > > ** libs > > /bin/bash: line 0: cd: GLPK: No such file or directory > > Makevars:10: recipe for target 'GLPK.ts' failed > > make: *** [GLPK.ts] Error 1 > > ERROR: compilation failed for package ‘Rglpk’ > I am aware that there are other/similar reports of Rglpk installation > problems on Linux (e.g. > https://stackoverflow.com/questions/25114771/glpk-no-such-file-or-directory-error-when-trying-to-install-r-package) > But other reverse dependencies of Rglpk on CRAN do not appear to have > these issues (e.g. mknapsack, MSCMT, npbr ...)? Thanks, Benjamin > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel