{"action":"created","issue":{"url":"https://api.github.com/repos/att/rcloud/issues/2541","repository_url":"https://api.github.com/repos/att/rcloud","labels_url":"https://api.github.com/repos/att/rcloud/issues/2541/labels{/name}","comments_url":"https://api.github.com/repos/att/rcloud/issues/2541/comments","events_url":"https://api.github.com/repos/att/rcloud/issues/2541/events","html_url":"https://github.com/att/rcloud/pull/2541","id":290639156,"number":2541,"title":"annotate eval'd sources with source file names","user":{"login":"gordonwoodhull","id":1366709,"avatar_url":"https://avatars2.githubusercontent.com/u/1366709?v=4","gravatar_id":"","url":"https://api.github.com/users/gordonwoodhull","html_url":"https://github.com/gordonwoodhull","followers_url":"https://api.github.com/users/gordonwoodhull/followers","following_url":"https://api.github.com/users/gordonwoodhull/following{/other_user}","gists_url":"https://api.github.com/users/gordonwoodhull/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwoodhull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwoodhull/subscriptions","organizations_url":"https://api.github.com/users/gordonwoodhull/orgs","repos_url":"https://api.github.com/users/gordonwoodhull/repos","events_url":"https://api.github.com/users/gordonwoodhull/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwoodhull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/att/rcloud/milestones/36","html_url":"https://github.com/att/rcloud/milestone/36","labels_url":"https://api.github.com/repos/att/rcloud/milestones/36/labels","id":2921593,"number":36,"title":"1.9.1","description":"fixes and stuff we didn't get to in 1.9","creator":{"login":"gordonwoodhull","id":1366709,"avatar_url":"https://avatars2.githubusercontent.com/u/1366709?v=4","gravatar_id":"","url":"https://api.github.com/users/gordonwoodhull","html_url":"https://github.com/gordonwoodhull","followers_url":"https://api.github.com/users/gordonwoodhull/followers","following_url":"https://api.github.com/users/gordonwoodhull/following{/other_user}","gists_url":"https://api.github.com/users/gordonwoodhull/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwoodhull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwoodhull/subscriptions","organizations_url":"https://api.github.com/users/gordonwoodhull/orgs","repos_url":"https://api.github.com/users/gordonwoodhull/repos","events_url":"https://api.github.com/users/gordonwoodhull/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwoodhull/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":17,"state":"open","created_at":"2017-11-18T15:03:42Z","updated_at":"2018-02-05T22:05:12Z","due_on":"2018-01-31T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-01-22T22:28:01Z","updated_at":"2018-02-05T22:05:12Z","closed_at":"2018-02-05T22:05:12Z","author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/att/rcloud/pulls/2541","html_url":"https://github.com/att/rcloud/pull/2541","diff_url":"https://github.com/att/rcloud/pull/2541.diff","patch_url":"https://github.com/att/rcloud/pull/2541.patch"},"body":"currently this enables sourcefile info for R debugger\r\npotentially it could help debugging in other languages as well\r\n\r\nI'm not sure if there are potential side effects to adding another parameter to `run.cell` for all languages.\r\n\r\n@useless5771 pointed out that this helps for Shiny showcase mode. I found that it also helps with built-in R debug mode:\r\n\r\n### Before\r\n```\r\ndebugging in: fib(6)\r\ndebug: if (i < 2) i else fib(i - 2) + fib(i - 1)\r\nBrowse[2]> n\r\ndebug at <text>#1: fib(i - 2) + fib(i - 1)\r\nBrowse[2]> n\r\ndebugging in: fib(i - 2)\r\ndebug: if (i < 2) i else fib(i - 2) + fib(i - 1)\r\nBrowse[3]> n\r\ndebug at <text>#1: fib(i - 2) + fib(i - 1)\r\nBrowse[3]> Q\r\ntrace:\r\n```\r\n\r\n### After\r\n```\r\ndebugging in: fib(6)\r\ndebug: if (i < 2) i else fib(i - 2) + fib(i - 1)\r\nBrowse[2]> n\r\ndebug at part2.R#1: fib(i - 2) + fib(i - 1)\r\nBrowse[2]> n\r\ndebugging in: fib(i - 2)\r\ndebug: if (i < 2) i else fib(i - 2) + fib(i - 1)\r\nBrowse[3]> n\r\ndebug at part2.R#1: fib(i - 2) + fib(i - 1)\r\n```\r\n\r\nI didn't attempt to do anything with the partname for python, rmarkdown, shell, but presumably the parsers/eval for those languages also have ways to annotate with source file name."},"comment":{"url":"https://api.github.com/repos/att/rcloud/issues/comments/363237082","html_url":"https://github.com/att/rcloud/pull/2541#issuecomment-363237082","issue_url":"https://api.github.com/repos/att/rcloud/issues/2541","id":363237082,"user":{"login":"gordonwoodhull","id":1366709,"avatar_url":"https://avatars2.githubusercontent.com/u/1366709?v=4","gravatar_id":"","url":"https://api.github.com/users/gordonwoodhull","html_url":"https://github.com/gordonwoodhull","followers_url":"https://api.github.com/users/gordonwoodhull/followers","following_url":"https://api.github.com/users/gordonwoodhull/following{/other_user}","gists_url":"https://api.github.com/users/gordonwoodhull/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwoodhull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwoodhull/subscriptions","organizations_url":"https://api.github.com/users/gordonwoodhull/orgs","repos_url":"https://api.github.com/users/gordonwoodhull/repos","events_url":"https://api.github.com/users/gordonwoodhull/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwoodhull/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T22:05:12Z","updated_at":"2018-02-05T22:05:12Z","author_association":"OWNER","body":"Merged for 1.9.1"}}
{"actor":{"display_login":"gordonwoodhull"}}