Closed dpashouwer closed 5 years ago
hrm Kim was getting this today too. I couldn't replicate it, then I upgraded devtools and remotes to the latest CRAN versions after which I too got this error. Are you using R < 3.6.0? Kim and I are and that may be relevant per that error message.
Kim and I both updated to R 3.6.1 and can now install. I'm going to guess that it's the latest versions of packages devtools/remotes not playing nicely with Windows users on R < 3.6. So while frustrating I think I'll close this as not related to this package, and suggest updating your R version. Let me know if you still encounter this under R 3.6 ?
Think I properly added the GITHUB_PAT to my .Renvironment, but get this error when trying to install...
devtools::install_github("tntp/surveymonkey")
Downloading GitHub repo tntp/surveymonkey@master Error in utils::download.file(url, path, method = method, quiet = quiet, : cannot open URL 'https://api.github.com/repos/tntp/surveymonkey/tarball/master' In addition: Warning message: In base_download_noheaders(url, path, quiet, headers, method) : R (< 3.6.0) cannot send HTTP headers with the
wininetdownload method. This download will likely fail. Please choose a different download method, via the
download.file.methodoption. The
libcurlmethod is best, if available, and the
wgetand
curlmethods work as well, if the corresponding external tool is available. See
?download.file`