kopia lustrzana https://github.com/jupyterhub/repo2docker
first try for R DESCRIPTION
rodzic
46f056a4e2
commit
e8593d6bdd
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue