first try for R DESCRIPTION

pull/406/head
Bastian Greshake Tzovaras 2018-09-17 13:18:33 +02:00
rodzic 46f056a4e2
commit e8593d6bdd
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -257,4 +257,16 @@ class RBuildPack(PythonBuildPack):
)
]
descriptionR_path = self.binder_path('DESCRIPTION')
if os.path.exists(descriptionR_path):
assemble_scripts += [
(
"${NB_USER}",
r"""
R CMD build . && \
R CMD install .
"""
)
]
return assemble_scripts