{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/packrat/issues/230","labels_url":"https://api.github.com/repos/rstudio/packrat/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/packrat/issues/230/comments","events_url":"https://api.github.com/repos/rstudio/packrat/issues/230/events","html_url":"https://github.com/rstudio/packrat/pull/230","id":93594095,"number":230,"title":"use secure download method for interactions with CRAN when required","user":{"login":"jjallaire","id":104391,"avatar_url":"https://avatars.githubusercontent.com/u/104391?v=3","gravatar_id":"","url":"https://api.github.com/users/jjallaire","html_url":"https://github.com/jjallaire","followers_url":"https://api.github.com/users/jjallaire/followers","following_url":"https://api.github.com/users/jjallaire/following{/other_user}","gists_url":"https://api.github.com/users/jjallaire/gists{/gist_id}","starred_url":"https://api.github.com/users/jjallaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjallaire/subscriptions","organizations_url":"https://api.github.com/users/jjallaire/orgs","repos_url":"https://api.github.com/users/jjallaire/repos","events_url":"https://api.github.com/users/jjallaire/events{/privacy}","received_events_url":"https://api.github.com/users/jjallaire/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-07T18:13:48Z","updated_at":"2015-07-08T19:12:54Z","closed_at":"2015-07-08T11:40:05Z","pull_request":{"url":"https://api.github.com/repos/rstudio/packrat/pulls/230","html_url":"https://github.com/rstudio/packrat/pull/230","diff_url":"https://github.com/rstudio/packrat/pull/230.diff","patch_url":"https://github.com/rstudio/packrat/pull/230.patch"},"body":"Two changes here:\r\n\r\n1) Update the `download` method to take advantage of the new secure R 3.2 download methods (\"wininet\" and \"libcurl\") when available.\r\n\r\n2) Add a new `secureDownloadMethod` function which sets the default R download method to a secure one (if possible) when one of the repositories in `getOption(\"repos\")` uses https. This allows `available.packages` and `install.packages` to work correctly in the presence of https repository URLs.\r\n\r\n@jcheng5 @trestletech @wch\r\n\r\nWinston, I'll put in a similar PR into downloader soon (packrat includes a copy of the the downloader::download function so as not to take a dependency on any other packages).\r\n"},"comment":{"url":"https://api.github.com/repos/rstudio/packrat/issues/comments/119699820","html_url":"https://github.com/rstudio/packrat/pull/230#issuecomment-119699820","issue_url":"https://api.github.com/repos/rstudio/packrat/issues/230","id":119699820,"user":{"login":"jcheng5","id":129551,"avatar_url":"https://avatars.githubusercontent.com/u/129551?v=3","gravatar_id":"","url":"https://api.github.com/users/jcheng5","html_url":"https://github.com/jcheng5","followers_url":"https://api.github.com/users/jcheng5/followers","following_url":"https://api.github.com/users/jcheng5/following{/other_user}","gists_url":"https://api.github.com/users/jcheng5/gists{/gist_id}","starred_url":"https://api.github.com/users/jcheng5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcheng5/subscriptions","organizations_url":"https://api.github.com/users/jcheng5/orgs","repos_url":"https://api.github.com/users/jcheng5/repos","events_url":"https://api.github.com/users/jcheng5/events{/privacy}","received_events_url":"https://api.github.com/users/jcheng5/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T19:12:54Z","updated_at":"2015-07-08T19:12:54Z","body":"Yes, needs a version bump, and connect should take a dependency on that new\nversion. Good catch.\n\nOn Wed, Jul 8, 2015 at 12:06 PM Aron Atkins <notifications@github.com>\nwrote:\n\n> Should this have bumped the version?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/rstudio/packrat/pull/230#issuecomment-119698427>.\n>\n"}}