Re: [R-pkg-devel] using devtools::install_github() when curl is a dependency

2020-06-06 Thread Blätte , Andreas
Dear Gabor, the standalone mode is the perfect fix for my issue and I will adapted the recommended GitHub installation mechanism in the README of my cwbtools package accordingly. Like this: Sys.setenv(R_REMOTES_STANDALONE="true") remotes::install_github("PolMine/cwbtools", ref = "dev") Thank

Re: [R-pkg-devel] using devtools::install_github() when curl is a dependency

2020-06-06 Thread Gábor Csárdi
Hi, you can use the remotes package (that devtools itself uses under the hood), and set the R_REMOTES_STANDALONE="true" environment variable. Then remotes will not use any packages to perform the downloads and the installations. See more here: https://github.com/r-lib/remotes#standalone-mode Gabor

Re: [R-pkg-devel] using devtools::install_github() when curl is a dependency

2020-06-06 Thread Gregory Jefferis
Have you tried setting R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE I have feeling that is a warning promoted to an error by the remotes package. Similarly have you tried updating the curl package manually with install.packages after loading it in an R session? Best, Greg. Sent from my iPhone >

[R-pkg-devel] using devtools::install_github() when curl is a dependency

2020-06-06 Thread Blätte , Andreas
Dear colleagues, using devtools::install_github() is suggested frequently to install the development version of a package from GitHub. But there is a nasty scenario on Windows when the package to be installed from GitHub has curl as a dependency and if a new version of curl or backports is ava