kopia lustrzana https://github.com/jupyterhub/repo2docker
Make black happy
rodzic
1ed05b59c6
commit
5d173a349d
|
@ -13,6 +13,7 @@ RSTUDIO_CHECKSUM = "d33881b9ab786c09556c410e7dc477de"
|
|||
SHINY_URL = "https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.12.933-amd64.deb"
|
||||
SHINY_CHECKSUM = "9aeef6613e7f58f21c97a4600921340e"
|
||||
|
||||
|
||||
def rstudio_base_scripts():
|
||||
"""Base steps to install RStudio and shiny-server."""
|
||||
return [
|
||||
|
|
|
@ -215,7 +215,7 @@ class RBuildPack(PythonBuildPack):
|
|||
devtools is part of our 'core' base install, so we should have some
|
||||
control over what version we install here.
|
||||
"""
|
||||
if V(self.r_version) <= V('4.0'):
|
||||
if V(self.r_version) <= V("4.0"):
|
||||
# IRKernel gets into CRAN on Nov 16 2018 (https://packagemanager.rstudio.com/client/#/repos/1/packages/IRkernel),
|
||||
# so we try snapshot to just after that.
|
||||
return datetime.date(2018, 12, 1)
|
||||
|
@ -329,12 +329,13 @@ class RBuildPack(PythonBuildPack):
|
|||
R --quiet -e "install.packages(c('devtools', 'IRkernel', 'shiny'), repos='{devtools_cran_mirror_url}')" && \
|
||||
R --quiet -e "IRkernel::installspec(prefix='$NB_PYTHON_PREFIX')"
|
||||
""".format(
|
||||
devtools_cran_mirror_url=self.get_cran_mirror_url(self.get_devtools_snapshot_date()),
|
||||
devtools_cran_mirror_url=self.get_cran_mirror_url(
|
||||
self.get_devtools_snapshot_date()
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
return super().get_build_scripts() + scripts
|
||||
|
||||
def get_preassemble_script_files(self):
|
||||
|
|
Ładowanie…
Reference in New Issue