first try for R DESCRIPTION
MODIFY
repo2docker/buildpacks/r.py
repo2docker/buildpacks/r.py
@@ -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

first try for R DESCRIPTION