Point to a tagged version of rstudio

Co-authored-by: Simon Li <orpheus+devel@gmail.com>
pull/1161/head
Yuvi Panda 2022-06-22 23:37:42 -07:00 zatwierdzone przez GitHub
rodzic 8ed4c96a8e
commit a098f95dc4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -140,7 +140,8 @@ class RBuildPack(PythonBuildPack):
return super().get_env() + [
# rstudio (rsession) can't seem to find R unless we explicitly tell it where
# it is - just $PATH isn't enough. I discovered these are the env vars it
# looks for by digging through RStudio source and finding https://github.com/rstudio/rstudio/blob/main/src/cpp/r/session/RDiscovery.cpp
# looks for by digging through RStudio source and finding
# https://github.com/rstudio/rstudio/blob/v2022.02.3+492/src/cpp/r/session/RDiscovery.cpp
("R_HOME", f"/opt/R/{self.r_version}/lib/R"),
("R_DOC_DIR", "${R_HOME}/doc"),
("LD_LIBRARY_PATH", "${R_HOME}/lib:${LD_LIBRARY_PATH}"),