{"action":"created","issue":{"url":"https://api.github.com/repos/andrie/miniCRAN/issues/111","repository_url":"https://api.github.com/repos/andrie/miniCRAN","labels_url":"https://api.github.com/repos/andrie/miniCRAN/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/andrie/miniCRAN/issues/111/comments","events_url":"https://api.github.com/repos/andrie/miniCRAN/issues/111/events","html_url":"https://github.com/andrie/miniCRAN/issues/111","id":313440370,"node_id":"MDU6SXNzdWUzMTM0NDAzNzA=","number":111,"title":"addLocalPackage doesn't permit mac.binary.el-capitan type","user":{"login":"stumoodie","id":811586,"node_id":"MDQ6VXNlcjgxMTU4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/811586?v=4","gravatar_id":"","url":"https://api.github.com/users/stumoodie","html_url":"https://github.com/stumoodie","followers_url":"https://api.github.com/users/stumoodie/followers","following_url":"https://api.github.com/users/stumoodie/following{/other_user}","gists_url":"https://api.github.com/users/stumoodie/gists{/gist_id}","starred_url":"https://api.github.com/users/stumoodie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stumoodie/subscriptions","organizations_url":"https://api.github.com/users/stumoodie/orgs","repos_url":"https://api.github.com/users/stumoodie/repos","events_url":"https://api.github.com/users/stumoodie/events{/privacy}","received_events_url":"https://api.github.com/users/stumoodie/received_events","type":"User","site_admin":false},"labels":[{"id":77898361,"node_id":"MDU6TGFiZWw3Nzg5ODM2MQ==","url":"https://api.github.com/repos/andrie/miniCRAN/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"andrie","id":479998,"node_id":"MDQ6VXNlcjQ3OTk5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/479998?v=4","gravatar_id":"","url":"https://api.github.com/users/andrie","html_url":"https://github.com/andrie","followers_url":"https://api.github.com/users/andrie/followers","following_url":"https://api.github.com/users/andrie/following{/other_user}","gists_url":"https://api.github.com/users/andrie/gists{/gist_id}","starred_url":"https://api.github.com/users/andrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrie/subscriptions","organizations_url":"https://api.github.com/users/andrie/orgs","repos_url":"https://api.github.com/users/andrie/repos","events_url":"https://api.github.com/users/andrie/events{/privacy}","received_events_url":"https://api.github.com/users/andrie/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrie","id":479998,"node_id":"MDQ6VXNlcjQ3OTk5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/479998?v=4","gravatar_id":"","url":"https://api.github.com/users/andrie","html_url":"https://github.com/andrie","followers_url":"https://api.github.com/users/andrie/followers","following_url":"https://api.github.com/users/andrie/following{/other_user}","gists_url":"https://api.github.com/users/andrie/gists{/gist_id}","starred_url":"https://api.github.com/users/andrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrie/subscriptions","organizations_url":"https://api.github.com/users/andrie/orgs","repos_url":"https://api.github.com/users/andrie/repos","events_url":"https://api.github.com/users/andrie/events{/privacy}","received_events_url":"https://api.github.com/users/andrie/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/andrie/miniCRAN/milestones/14","html_url":"https://github.com/andrie/miniCRAN/milestone/14","labels_url":"https://api.github.com/repos/andrie/miniCRAN/milestones/14/labels","id":3444235,"node_id":"MDk6TWlsZXN0b25lMzQ0NDIzNQ==","number":14,"title":"v0.2.12","description":"","creator":{"login":"andrie","id":479998,"node_id":"MDQ6VXNlcjQ3OTk5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/479998?v=4","gravatar_id":"","url":"https://api.github.com/users/andrie","html_url":"https://github.com/andrie","followers_url":"https://api.github.com/users/andrie/followers","following_url":"https://api.github.com/users/andrie/following{/other_user}","gists_url":"https://api.github.com/users/andrie/gists{/gist_id}","starred_url":"https://api.github.com/users/andrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrie/subscriptions","organizations_url":"https://api.github.com/users/andrie/orgs","repos_url":"https://api.github.com/users/andrie/repos","events_url":"https://api.github.com/users/andrie/events{/privacy}","received_events_url":"https://api.github.com/users/andrie/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2018-06-22T08:02:28Z","updated_at":"2018-06-22T11:18:09Z","due_on":"2018-06-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-04-11T18:37:00Z","updated_at":"2018-06-22T11:23:06Z","closed_at":null,"author_association":"NONE","body":"When adding a Mac binary as a local package then it is only possible to specify the type as \"mac.binary\".   I am using MacOS High Sierra and the expected binary type is `mac.binary.el-capitan`.\r\n\r\nWhile the call to addLocalPackage works:\r\n\r\n```\r\nminiCRAN::addLocalPackage(pkgs, path = repo_dir, pkgPath = pkg_source,\r\n                          type = \"mac.binary\")\r\n```\r\n\r\nwhen you come to install the binary using install.packages it complains that the package cannot be found:\r\n\r\n```\r\ninstall.packages(\"ior\", repos = c(local_repo_url, getOption(\"repos\")))\r\n\r\nWarning in install.packages :\r\n  cannot open compressed file '/Users/stumoodie/foundation_git/interop/ior_installation/ior_repo/bin/macosx/el-capitan/contrib/3.4/PACKAGES', probable reason 'No such file or directory'\r\nError in install.packages : cannot open the connection\r\n```\r\n\r\nMoving the files located in `bin/macosx/contrib/3.4` to `bin/macosx/el-capitan/contrib/3.4` fixes the problem.\r\n\r\nCould you allow addLocalPackage to accept a type of `mac.binary.el-capitan`?  Note that (I think) you can specify this type using addPackage()."},"comment":{"url":"https://api.github.com/repos/andrie/miniCRAN/issues/comments/399410331","html_url":"https://github.com/andrie/miniCRAN/issues/111#issuecomment-399410331","issue_url":"https://api.github.com/repos/andrie/miniCRAN/issues/111","id":399410331,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQxMDMzMQ==","user":{"login":"andrie","id":479998,"node_id":"MDQ6VXNlcjQ3OTk5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/479998?v=4","gravatar_id":"","url":"https://api.github.com/users/andrie","html_url":"https://github.com/andrie","followers_url":"https://api.github.com/users/andrie/followers","following_url":"https://api.github.com/users/andrie/following{/other_user}","gists_url":"https://api.github.com/users/andrie/gists{/gist_id}","starred_url":"https://api.github.com/users/andrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrie/subscriptions","organizations_url":"https://api.github.com/users/andrie/orgs","repos_url":"https://api.github.com/users/andrie/repos","events_url":"https://api.github.com/users/andrie/events{/privacy}","received_events_url":"https://api.github.com/users/andrie/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T11:23:06Z","updated_at":"2018-06-22T11:23:06Z","author_association":"OWNER","body":"I've pushed a potential fix to the `master` branch. Can you please install from github and let me know if this works?"}}
{"actor":{"display_login":"andrie"}}