Skip to content

Commit c3d2575

Browse files
committed
Fixd shell command for buildpacks/r
1 parent 8a359f9 commit c3d2575

File tree

1 file changed

+2
-2
lines changed
  • repo2docker/buildpacks

1 file changed

+2
-2
lines changed

repo2docker/buildpacks/r.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ def get_build_scripts(self):
343343
(
344344
"${NB_USER}",
345345
# Install a pinned version of devtools, IRKernel and shiny
346-
r"""
347-
EXPANDED_CRAN_MIRROR_URL="$(. /etc/os-release && echo {self.devtools_cran_mirror_url()} | envsubst)" && \
346+
rf"""
347+
EXPANDED_CRAN_MIRROR_URL="$(. /etc/os-release && echo {cran_mirror_url} | envsubst)" && \
348348
R --quiet -e "install.packages(c('devtools', 'IRkernel', 'shiny'), repos='${{EXPANDED_CRAN_MIRROR_URL}}')" && \
349349
R --quiet -e "IRkernel::installspec(prefix='$NB_PYTHON_PREFIX')"
350350
""",

0 commit comments

Comments
 (0)