Hello, we are a small company that do not do a lot of R. We'd like to install many versions of R side by side. I already found this nice description https://rviews.rstudio.com/2018/03/21/multiple-versions-of-r/ that is really great.
The only issue is that we have a special way of deploying software, we basically create own own rpm to be deployed on all our boxes.
The build seem to be ok but when the rpm is deployed it seems that "at least" we have an issue with R_HOME_DIR that is not set to the proper value (I was expected the path from --prefix in the install)
[2019-05-21 16:47:23 me@ldzls43d 3.6]$ head /opt/third/R/3.6/bin/R
#!/bin/sh
# Shell wrapper for R executable.
R_HOME_DIR=R_HOME_DIR="/apps/bamboo_agent_1/bamboo-agent-home/xml-data/build-dir/TPP-RPL0-BP7/R-3.6.0"
if test "${R_HOME_DIR}" = "/opt/third/R/3.6.0/lib64/R"; then
case "linux-gnu" in
linux*)
run_arch=`uname -m`
case "$run_arch" in
x86_64|mips64|ppc64|powerpc64|sparc64|s390x)
Is there a to control what R_HOME_DIR is "replaced" by (indeed it seems to be autogenerated)