mattroumaya / surveymonkey

Access your SurveyMonkey data directly from R!
https://mattroumaya.github.io/surveymonkey/
Other
42 stars 10 forks source link

Error when installing package #30

Closed dpashouwer closed 5 years ago

dpashouwer commented 5 years ago

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 thewininetdownload method. This download will likely fail. Please choose a different download method, via thedownload.file.methodoption. Thelibcurlmethod is best, if available, and thewgetandcurlmethods work as well, if the corresponding external tool is available. See?download.file`

sfirke commented 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.

sfirke commented 5 years ago

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 ?