{"action":"created","issue":{"url":"https://api.github.com/repos/jeroenooms/opencpu/issues/113","labels_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/113/comments","events_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/113/events","html_url":"https://github.com/jeroenooms/opencpu/issues/113","id":45264924,"number":113,"title":"updating packages in /usr/lib/opencpu/library","user":{"login":"erikriverson","id":122208,"avatar_url":"https://avatars.githubusercontent.com/u/122208?v=3","gravatar_id":"","url":"https://api.github.com/users/erikriverson","html_url":"https://github.com/erikriverson","followers_url":"https://api.github.com/users/erikriverson/followers","following_url":"https://api.github.com/users/erikriverson/following{/other_user}","gists_url":"https://api.github.com/users/erikriverson/gists{/gist_id}","starred_url":"https://api.github.com/users/erikriverson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikriverson/subscriptions","organizations_url":"https://api.github.com/users/erikriverson/orgs","repos_url":"https://api.github.com/users/erikriverson/repos","events_url":"https://api.github.com/users/erikriverson/events{/privacy}","received_events_url":"https://api.github.com/users/erikriverson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-10-08T16:23:33Z","updated_at":"2015-06-02T16:57:36Z","closed_at":null,"body":"With the Ubuntu OpenCPU Cloud Server, are there any problems you see with admins keeping the packages in /usr/lib/opencpu/library up to date? \r\n\r\nWhen a function is called from the OpenCPU Github API, this is the value of .libPaths()\r\n\r\n[\r\n\t\"/tmp/ocpu-www-data/github_library/[[path_to_package]] \r\n\t\"/usr/lib/opencpu/library\",\r\n\t\"/usr/local/lib/R/site-library\",\r\n\t\"/usr/lib/R/site-library\",\r\n\t\"/usr/lib/R/library\"\r\n]\r\n\r\nConsider a package accessed through the OpenCPU Github API (Package A) that imports a package that happens to be contained in /usr/lib/opencpu/library (Package B), and Package B's version is too old to successfully install Package A. \r\n\r\nUsing install_github from the R console on the OpenCPU server machine works, since \"/usr/lib/opencpu/library\" is not in .libPaths() at that point. But then we lose the CI features with OpenCPU/Github webhook integration. \r\n"},"comment":{"url":"https://api.github.com/repos/jeroenooms/opencpu/issues/comments/108014162","html_url":"https://github.com/jeroenooms/opencpu/issues/113#issuecomment-108014162","issue_url":"https://api.github.com/repos/jeroenooms/opencpu/issues/113","id":108014162,"user":{"login":"jeroenooms","id":216319,"avatar_url":"https://avatars.githubusercontent.com/u/216319?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenooms","html_url":"https://github.com/jeroenooms","followers_url":"https://api.github.com/users/jeroenooms/followers","following_url":"https://api.github.com/users/jeroenooms/following{/other_user}","gists_url":"https://api.github.com/users/jeroenooms/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenooms/subscriptions","organizations_url":"https://api.github.com/users/jeroenooms/orgs","repos_url":"https://api.github.com/users/jeroenooms/repos","events_url":"https://api.github.com/users/jeroenooms/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenooms/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T16:57:36Z","updated_at":"2015-06-02T16:57:36Z","body":"I have started to push new version to `opencpu-1.5` based on R 3.2.0-patched:\r\n\r\n```\r\nsudo add-apt-repository\r\nsudo apt-get update\r\nsudo apt-get dist-upgrade\r\n```\r\n\r\nI am reluctant to push a major update into `opencpu-1.4` that might break existing deployments."}}