Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion repo2docker/buildpacks/_r_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def rstudio_base_scripts(r_version):

# Shiny server (not the package!) seems to be the same version for all R versions
shiny_server_url = "https://download3.rstudio.org/ubuntu-18.04/x86_64/shiny-server-1.5.22.1017-amd64.deb"
shiny_proxy_version = "1.3"
shiny_proxy_version = "1.4"
shiny_sha256sum = "0fa40054f038de464a26f3f8c40180a072228454762b7a12ed50568b3256c236"

# RStudio server has different builds based on wether OpenSSL 3 or 1.1 is available.
Expand Down
6 changes: 3 additions & 3 deletions repo2docker/buildpacks/r.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@ def get_build_scripts(self):
),
(
"${NB_USER}",
# Install a pinned version of devtools, IRKernel and shiny
# Install a pinned version of remotes, devtools, IRKernel and shiny
rf"""
export EXPANDED_CRAN_MIRROR_URL="$(. /etc/os-release && echo {cran_mirror_url} | envsubst)" && \
R --no-save --no-restore --no-init-file --no-environ --quiet -e "install.packages(c('devtools', 'IRkernel', 'shiny'), repos=Sys.getenv(\"EXPANDED_CRAN_MIRROR_URL\"))" && \
R --no-save --no-restore --no-init-file --no-environ --quiet -e "install.packages(c('remotes', 'devtools', 'IRkernel', 'shiny'), repos=Sys.getenv(\"EXPANDED_CRAN_MIRROR_URL\"))" && \
R --no-save --no-restore --no-init-file --no-environ --quiet -e "IRkernel::installspec(prefix=Sys.getenv(\"NB_PYTHON_PREFIX\"))"
""",
),
Expand Down Expand Up @@ -415,7 +415,7 @@ def get_assemble_scripts(self):
assemble_scripts += [
(
"${NB_USER}",
'R --no-save --no-restore --no-init-file --no-environ --quiet -e "devtools::install_local(getwd())"',
'R --no-save --no-restore --no-init-file --no-environ --quiet -e "remotes::install_local()"',
)
]

Expand Down
Loading