Installing from source fails when there are space in the lib path.
It looks like there are missing brackets somewhere causing this. If I remove the space in the lib path the it works.
The output is a bit jumpled but below is the last before it fails.
Note the "QC4Metabolomics/Shiny App" in the path is in many places cut at the space.
abolomics/Shiny App/packrat/lib/x86_64-pc-linux-gnu/3.6.0/Rhdf5lib/lib/libsz.a -lz -L/usr/local/lib/R/lib -lR\ng++: error: /srv/shiny-server/QC4Metabolomics/Shiny: No such file or directory\ng++: error: App/packrat/lib/x86_64-pc-linux-gnu/3.6.0/Rhdf5lib/lib/libhdf5_cpp.a: No such file or directory\ng++: error: /srv/shiny-server/QC4Metabolomics/Shiny: No such file or directory\ng++: error: App/packrat/lib/x86_64-pc-linux-gnu/3.6.0/Rhdf5lib/lib/libhdf5.a: No such file or directory\ng++: error: /srv/shiny-server/QC4Metabolomics/Shiny: No such file or directory\ng++: error: App/packrat/lib/x86_64-pc-linux-gnu/3.6.0/Rhdf5lib/lib/libsz.a: No such file or directory\n/usr/local/lib/R/share/make/shlib.mk:6: recipe for target 'mzR.so' failed\nmake: *** [mzR.so] Error 1\nERROR: compilation failed for package 'mzR'\n* removing '/srv/shiny-server/QC4Metabolomics/Shiny App/packrat/lib/x86_64-pc-linux-gnu/3.6.0/mzR'"
The command '/bin/sh -c Rscript "dummy.R" --bootstrap-packrat' returned a non-zero code: 1
Installing from source fails when there are space in the lib path. It looks like there are missing brackets somewhere causing this. If I remove the space in the lib path the it works.
The output is a bit jumpled but below is the last before it fails. Note the "QC4Metabolomics/Shiny App" in the path is in many places cut at the space.
Rhdf5lib had the same issue and a fix was made here: https://github.com/grimbough/Rhdf5lib/commit/6f458fe913147ef42b79ac91133bb856c12c9129