{"action":"created","issue":{"url":"https://api.github.com/repos/r-spatial/mapedit/issues/71","repository_url":"https://api.github.com/repos/r-spatial/mapedit","labels_url":"https://api.github.com/repos/r-spatial/mapedit/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/r-spatial/mapedit/issues/71/comments","events_url":"https://api.github.com/repos/r-spatial/mapedit/issues/71/events","html_url":"https://github.com/r-spatial/mapedit/issues/71","id":299925725,"number":71,"title":"Closing the browser window after a selection is done in selectFeatures","user":{"login":"lbusett","id":4480397,"avatar_url":"https://avatars2.githubusercontent.com/u/4480397?v=4","gravatar_id":"","url":"https://api.github.com/users/lbusett","html_url":"https://github.com/lbusett","followers_url":"https://api.github.com/users/lbusett/followers","following_url":"https://api.github.com/users/lbusett/following{/other_user}","gists_url":"https://api.github.com/users/lbusett/gists{/gist_id}","starred_url":"https://api.github.com/users/lbusett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbusett/subscriptions","organizations_url":"https://api.github.com/users/lbusett/orgs","repos_url":"https://api.github.com/users/lbusett/repos","events_url":"https://api.github.com/users/lbusett/events{/privacy}","received_events_url":"https://api.github.com/users/lbusett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-24T08:56:00Z","updated_at":"2018-02-27T19:56:48Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\n   I am calling `selectFeatures` from the button of a GUI-based application, using `viewer = browserViewer(browser = getOption(\"browser\"))` to allow selection from a browser. \r\n\r\nAll works well, and when I click \"DONE\" the selected features are passed back to the caller. \r\nThe only problem is that after I click DONE the browser window is greyed out but not closed, so that it appears that the \"application\" crashed. \r\n\r\nYou can replicate the problem using:\r\n\r\n    nc <- st_read(system.file(\"shape/nc.shp\",package=\"sf\"))\r\n    mapedit::selectFeatures(nc, viewer = browserViewer(browser = getOption(\"browser\"))\r\n\r\nIs there any way to automatically close the window (i.e., the browser tab) when the selection is completed?\r\n\r\nThanks in advance! \r\n\r\nPS: I am working with the current CRAN version of mapedit (0.3.2) becausethis functionality should be implemented in a CRAN package, so using the github version is not a feasible option\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/r-spatial/mapedit/issues/comments/369005882","html_url":"https://github.com/r-spatial/mapedit/issues/71#issuecomment-369005882","issue_url":"https://api.github.com/repos/r-spatial/mapedit/issues/71","id":369005882,"user":{"login":"lbusett","id":4480397,"avatar_url":"https://avatars2.githubusercontent.com/u/4480397?v=4","gravatar_id":"","url":"https://api.github.com/users/lbusett","html_url":"https://github.com/lbusett","followers_url":"https://api.github.com/users/lbusett/followers","following_url":"https://api.github.com/users/lbusett/following{/other_user}","gists_url":"https://api.github.com/users/lbusett/gists{/gist_id}","starred_url":"https://api.github.com/users/lbusett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbusett/subscriptions","organizations_url":"https://api.github.com/users/lbusett/orgs","repos_url":"https://api.github.com/users/lbusett/repos","events_url":"https://api.github.com/users/lbusett/events{/privacy}","received_events_url":"https://api.github.com/users/lbusett/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T19:56:48Z","updated_at":"2018-02-27T19:56:48Z","author_association":"NONE","body":"Just to mention that my test was done on Windows 10 + chrome. I could also test on\n##  Linux tomorrow at work. "}}
{"actor":{"display_login":"lbusett"}}