{"action":"created","issue":{"url":"https://api.github.com/repos/dankelley/oce/issues/774","repository_url":"https://api.github.com/repos/dankelley/oce","labels_url":"https://api.github.com/repos/dankelley/oce/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/dankelley/oce/issues/774/comments","events_url":"https://api.github.com/repos/dankelley/oce/issues/774/events","html_url":"https://github.com/dankelley/oce/issues/774","id":114661339,"number":774,"title":"plot.coastline doesn't allow a `col` argument when `fill` is specified","user":{"login":"richardsc","id":233584,"avatar_url":"https://avatars.githubusercontent.com/u/233584?v=3","gravatar_id":"","url":"https://api.github.com/users/richardsc","html_url":"https://github.com/richardsc","followers_url":"https://api.github.com/users/richardsc/followers","following_url":"https://api.github.com/users/richardsc/following{/other_user}","gists_url":"https://api.github.com/users/richardsc/gists{/gist_id}","starred_url":"https://api.github.com/users/richardsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardsc/subscriptions","organizations_url":"https://api.github.com/users/richardsc/orgs","repos_url":"https://api.github.com/users/richardsc/repos","events_url":"https://api.github.com/users/richardsc/events{/privacy}","received_events_url":"https://api.github.com/users/richardsc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dankelley/oce/labels/coastline","name":"coastline","color":"009800"},{"url":"https://api.github.com/repos/dankelley/oce/labels/mapping","name":"mapping","color":"fad8c7"},{"url":"https://api.github.com/repos/dankelley/oce/labels/Next%20Release","name":"Next Release","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dankelley/oce/milestones/5","html_url":"https://github.com/dankelley/oce/milestones/2016%20feb%208","labels_url":"https://api.github.com/repos/dankelley/oce/milestones/5/labels","id":8371,"number":5,"title":"2016 feb 8","description":"Want this settled, or relabelled to `Next^2-release`, by the named date.","creator":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":25,"state":"open","created_at":"2011-05-10T17:13:28Z","updated_at":"2016-02-04T14:47:45Z","due_on":"2016-02-08T04:00:00Z","closed_at":null},"comments":15,"created_at":"2015-11-02T18:57:52Z","updated_at":"2016-02-04T18:26:30Z","closed_at":null,"body":"Example:\r\n```r\r\nlibrary(oce)\r\ndata(coastlineWorld)\r\nplot(coastlineWorld, col=2)\r\n```\r\nproduces the error:\r\n```\r\nError in polygon(x[[\"longitude\"]], x[[\"latitude\"]], col = fill, ...) : \r\n  formal argument \"col\" matched by multiple actual arguments\r\n```\r\n\r\nIf the \"filling\" is turned off, then it will work (because it is just drawing lines):\r\n```r\r\nplot(coastlineWorld, col=2, fill=NULL)\r\n```\r\n\r\nNote that the same thing happens using `mapPlot()` on coastline objects -- though the default behaviour of `mapPlot()` is that filling is off:\r\n```r\r\nmapPlot(coastlineWorld, col=2) # works\r\nmapPlot(coastlineWorld, col=2, fill='grey')  #doesn't work\r\n```\r\n```\r\nError in polygon(x, y, col = fill, ...) : \r\n  formal argument \"col\" matched by multiple actual arguments\r\n```"},"comment":{"url":"https://api.github.com/repos/dankelley/oce/issues/comments/179981530","html_url":"https://github.com/dankelley/oce/issues/774#issuecomment-179981530","issue_url":"https://api.github.com/repos/dankelley/oce/issues/774","id":179981530,"user":{"login":"richardsc","id":233584,"avatar_url":"https://avatars.githubusercontent.com/u/233584?v=3","gravatar_id":"","url":"https://api.github.com/users/richardsc","html_url":"https://github.com/richardsc","followers_url":"https://api.github.com/users/richardsc/followers","following_url":"https://api.github.com/users/richardsc/following{/other_user}","gists_url":"https://api.github.com/users/richardsc/gists{/gist_id}","starred_url":"https://api.github.com/users/richardsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardsc/subscriptions","organizations_url":"https://api.github.com/users/richardsc/orgs","repos_url":"https://api.github.com/users/richardsc/repos","events_url":"https://api.github.com/users/richardsc/events{/privacy}","received_events_url":"https://api.github.com/users/richardsc/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T18:26:30Z","updated_at":"2016-02-04T18:26:30Z","body":"I'd say this is looking good. I'll leave it for a couple days to try and play around some more, but if no problems arise it can be closed by the milestone date."}}