{"action":"created","issue":{"url":"https://api.github.com/repos/richfitz/remake/issues/34","labels_url":"https://api.github.com/repos/richfitz/remake/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/richfitz/remake/issues/34/comments","events_url":"https://api.github.com/repos/richfitz/remake/issues/34/events","html_url":"https://github.com/richfitz/remake/issues/34","id":59221643,"number":34,"title":"download rules","user":{"login":"richfitz","id":1558093,"avatar_url":"https://avatars.githubusercontent.com/u/1558093?v=3","gravatar_id":"","url":"https://api.github.com/users/richfitz","html_url":"https://github.com/richfitz","followers_url":"https://api.github.com/users/richfitz/followers","following_url":"https://api.github.com/users/richfitz/following{/other_user}","gists_url":"https://api.github.com/users/richfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/richfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richfitz/subscriptions","organizations_url":"https://api.github.com/users/richfitz/orgs","repos_url":"https://api.github.com/users/richfitz/repos","events_url":"https://api.github.com/users/richfitz/events{/privacy}","received_events_url":"https://api.github.com/users/richfitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-27T11:02:07Z","updated_at":"2015-02-27T22:31:49Z","closed_at":null,"body":"Downloading files to start an analysis is likely to be fairly common.\r\n\r\n@sckott found a cool makefile rule that uses curl to check if a URL has likely changed content: https://ryanfb.github.io/etc/2015/02/25/url_dependencies_with_make.html\r\n\r\nImplementing this in R should be easier than the convolutions in make, especially as we have the RCurl package and things like httr.  Ideally it would be possible to write\r\n\r\n```\r\ntargets:\r\n  filename:\r\n    download: http://whatever.com/path\r\n```\r\n\r\nand apply the recipe above.  In addition, we should probably not freak out if the network is not available (I *am* currently in Australia), and just give a warning that the check was not done.\r\n"},"comment":{"url":"https://api.github.com/repos/richfitz/remake/issues/comments/76485148","html_url":"https://github.com/richfitz/remake/issues/34#issuecomment-76485148","issue_url":"https://api.github.com/repos/richfitz/remake/issues/34","id":76485148,"user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T22:31:49Z","updated_at":"2015-02-27T22:31:49Z","body":"here's what I got so far  https://gist.github.com/sckott/0a18d89c0df97dee8d55\r\n"}}