I have tried to install basic packages in R using the R Jupyter lab kernel, but got this error message:
install.packages("devtools", repos='http://cran.us.r-project.org')
also installing the dependencies ‘credentials’, ‘curl’, ‘gert’, ‘gh’, ‘httr’, ‘ragg’, ‘usethis’, ‘pkgdown’, ‘rcmdcheck’, ‘rversions’, ‘urlchecker’ Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘curl’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘ragg’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘credentials’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘httr’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘rcmdcheck’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘rversions’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘urlchecker’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘gert’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘gh’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘pkgdown’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘usethis’ had non-zero exit status” Warning message in install.packages("devtools", repos = "http://cran.us.r-project.org"): “installation of package ‘devtools’ had non-zero exit status” Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
I have tried to solve this problem using the following code: Cannot install R packages in Jupyter Notebook
install.packages('IRkernel')
IRkernel::installspec(user = FALSE)
But it does not work. Any idea to fix this problem? Do you work with Jupyter lab with R kernel? Did you have this issue?