Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r example failing to build #47

Open
DaveEdge1 opened this issue Jan 28, 2025 · 0 comments
Open

r example failing to build #47

DaveEdge1 opened this issue Jan 28, 2025 · 0 comments

Comments

@DaveEdge1
Copy link

I am getting the following error when launching the r example as well as my own R projects.
"
Step 42/69 : RUN export EXPANDED_CRAN_MIRROR_URL="$(. /etc/os-release && echo https://packagemanager.posit.co/all/__linux__/${VERSION_CODENAME}/2024-01-10+kZwhsmgb | envsubst)" && R --quiet -e "install.packages(c('devtools', 'IRkernel', 'shiny'), repos=Sys.getenv("EXPANDED_CRAN_MIRROR_URL"))" && R --quiet -e "IRkernel::installspec(prefix=Sys.getenv("NB_PYTHON_PREFIX"))"
---> Running in 74182db1a7fa

install.packages(c('devtools', 'IRkernel', 'shiny'), repos=Sys.getenv("EXPANDED_CRAN_MIRROR_URL"))
�[91mInstalling packages into ‘/srv/rlibs’
(as ‘lib’ is unspecified)
�[0m�[91mWarning: unable to access index for repository https://packagemanager.posit.co/all/linux/jammy/2024-01-10+kZwhsmgb/src/contrib:
cannot open URL 'https://packagemanager.posit.co/all/linux/jammy/2024-01-10+kZwhsmgb/src/contrib/PACKAGES'
�[0m�[91mWarning message:
packages ‘devtools’, ‘IRkernel’, ‘shiny’ are not available for this version of R

Versions of these packages for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
�[0m>

IRkernel::installspec(prefix=Sys.getenv("NB_PYTHON_PREFIX"))
�[91mError in loadNamespace(x) : there is no package called ‘IRkernel’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
�[0m ---> Removed intermediate container 74182db1a7fa
The command '/bin/sh -c export EXPANDED_CRAN_MIRROR_URL="$(. /etc/os-release && echo https://packagemanager.posit.co/all/linux/${VERSION_CODENAME}/2024-01-10+kZwhsmgb | envsubst)" && R --quiet -e "install.packages(c('devtools', 'IRkernel', 'shiny'), repos=Sys.getenv("EXPANDED_CRAN_MIRROR_URL"))" && R --quiet -e "IRkernel::installspec(prefix=Sys.getenv("NB_PYTHON_PREFIX"))"' returned a non-zero code: 1Error in event stream: Error
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant