{"action":"closed","issue":{"url":"https://api.github.com/repos/ropensci/ecoretriever/issues/32","labels_url":"https://api.github.com/repos/ropensci/ecoretriever/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/ecoretriever/issues/32/comments","events_url":"https://api.github.com/repos/ropensci/ecoretriever/issues/32/events","html_url":"https://github.com/ropensci/ecoretriever/issues/32","id":42835235,"number":32,"title":"Potential Windows incompatibility due to system() command","user":{"login":"dmcglinn","id":1190381,"avatar_url":"https://avatars.githubusercontent.com/u/1190381?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcglinn","html_url":"https://github.com/dmcglinn","followers_url":"https://api.github.com/users/dmcglinn/followers","following_url":"https://api.github.com/users/dmcglinn/following{/other_user}","gists_url":"https://api.github.com/users/dmcglinn/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcglinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcglinn/subscriptions","organizations_url":"https://api.github.com/users/dmcglinn/orgs","repos_url":"https://api.github.com/users/dmcglinn/repos","events_url":"https://api.github.com/users/dmcglinn/events{/privacy}","received_events_url":"https://api.github.com/users/dmcglinn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ropensci/ecoretriever/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-09-16T01:05:23Z","updated_at":"2015-04-26T22:33:15Z","closed_at":"2015-04-26T22:33:15Z","body":"On package install \r\n\r\n`system('retriever update')`\r\n\r\nfails with the following error message\r\n\r\n```\r\nCannot open c:\\Anaconda\\Scripts\\RETRIE~1-script.py\r\nWarning message:\r\nrunning command 'retriever update' had status 2\r\n```\r\n\r\nI am not sure yet if this bug generally applies to Windows or is cropping up because of a particular system configuration. The `ecoretriever` package is failing on a Windows 7, 64-bit install running R v3.1.1 64 bit due to the fact that the function `system` which is used to execute `retriever` commands at the CLI is not able to access the `retriever` commands for some reason. The `system` function is executing other windows commands such as `ls`, and the R function `shell` which is a windows specific function is properly executing `retriever` commands. I need to document if this is a general windows bug or just something wonky with my setup."}}