Error in if (download_method_secure ()) from installing native R kernel for Jupyter

I tried installing R Kernel on my Jupyter laptop on Windows from

devtools::install_github('IRkernel/IRkernel')

but I ran into this error

Error in if (download_method_secure()) { :
missing value where TRUE/FALSE needed

Any suggestions on how to fix this would be appreciated.

+4
source share
2 answers

This issue arose for me when I relied on the default devtools version r-essentialsinstead of the newest version. After I did conda install -f -c r r-devtoolsand received the latest version, the error disappeared. YMMV, of course.

+1
source

conda devtools. , download_method devtools, . , R download.file.method. , , Devtools .

: options(download.file.method = "wininet")

Mac/Linux options(download.file.method = "libcurl")

. , R. https://support.rstudio.com/hc/en-us/articles/206827897-Secure-Package-Downloads-for-R

0

Source: https://habr.com/ru/post/1654198/


All Articles