{"action":"closed","number":663,"pull_request":{"url":"https://api.github.com/repos/r-lib/rlang/pulls/663","id":223230481,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMjMwNDgx","html_url":"https://github.com/r-lib/rlang/pull/663","diff_url":"https://github.com/r-lib/rlang/pull/663.diff","patch_url":"https://github.com/r-lib/rlang/pull/663.patch","issue_url":"https://api.github.com/repos/r-lib/rlang/issues/663","number":663,"state":"closed","locked":false,"title":"Allow subsetting .data with symbols","user":{"login":"lionel-","id":4465050,"node_id":"MDQ6VXNlcjQ0NjUwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4465050?v=4","gravatar_id":"","url":"https://api.github.com/users/lionel-","html_url":"https://github.com/lionel-","followers_url":"https://api.github.com/users/lionel-/followers","following_url":"https://api.github.com/users/lionel-/following{/other_user}","gists_url":"https://api.github.com/users/lionel-/gists{/gist_id}","starred_url":"https://api.github.com/users/lionel-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionel-/subscriptions","organizations_url":"https://api.github.com/users/lionel-/orgs","repos_url":"https://api.github.com/users/lionel-/repos","events_url":"https://api.github.com/users/lionel-/events{/privacy}","received_events_url":"https://api.github.com/users/lionel-/received_events","type":"User","site_admin":false},"body":"I noticed that lists and data frames can be subsetted with symbols. It makes sense to allow it for data pronouns as well, then we get:\r\n\r\n```r\r\nquoting_fn <- function(data, var) {\r\n  var <- ensym(var)\r\n  mutate(data, .data[[var]])\r\n}\r\n```","created_at":"2018-10-16T12:29:16Z","updated_at":"2018-10-17T12:01:26Z","closed_at":"2018-10-17T12:01:26Z","merged_at":null,"merge_commit_sha":"dd69836b0ee7fcbde7dc1d13d78aa511ffdf26d2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/r-lib/rlang/pulls/663/commits","review_comments_url":"https://api.github.com/repos/r-lib/rlang/pulls/663/comments","review_comment_url":"https://api.github.com/repos/r-lib/rlang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/r-lib/rlang/issues/663/comments","statuses_url":"https://api.github.com/repos/r-lib/rlang/statuses/f6c19eb51c9a056b6e9c88dfe74a888ed9810349","head":{"label":"lionel-:add-dot-data-symbol","ref":"add-dot-data-symbol","sha":"f6c19eb51c9a056b6e9c88dfe74a888ed9810349","user":{"login":"lionel-","id":4465050,"node_id":"MDQ6VXNlcjQ0NjUwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4465050?v=4","gravatar_id":"","url":"https://api.github.com/users/lionel-","html_url":"https://github.com/lionel-","followers_url":"https://api.github.com/users/lionel-/followers","following_url":"https://api.github.com/users/lionel-/following{/other_user}","gists_url":"https://api.github.com/users/lionel-/gists{/gist_id}","starred_url":"https://api.github.com/users/lionel-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionel-/subscriptions","organizations_url":"https://api.github.com/users/lionel-/orgs","repos_url":"https://api.github.com/users/lionel-/repos","events_url":"https://api.github.com/users/lionel-/events{/privacy}","received_events_url":"https://api.github.com/users/lionel-/received_events","type":"User","site_admin":false},"repo":{"id":73101742,"node_id":"MDEwOlJlcG9zaXRvcnk3MzEwMTc0Mg==","name":"rlang","full_name":"lionel-/rlang","private":false,"owner":{"login":"lionel-","id":4465050,"node_id":"MDQ6VXNlcjQ0NjUwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4465050?v=4","gravatar_id":"","url":"https://api.github.com/users/lionel-","html_url":"https://github.com/lionel-","followers_url":"https://api.github.com/users/lionel-/followers","following_url":"https://api.github.com/users/lionel-/following{/other_user}","gists_url":"https://api.github.com/users/lionel-/gists{/gist_id}","starred_url":"https://api.github.com/users/lionel-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionel-/subscriptions","organizations_url":"https://api.github.com/users/lionel-/orgs","repos_url":"https://api.github.com/users/lionel-/repos","events_url":"https://api.github.com/users/lionel-/events{/privacy}","received_events_url":"https://api.github.com/users/lionel-/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lionel-/rlang","description":"These are not the droids you are looking for","fork":true,"url":"https://api.github.com/repos/lionel-/rlang","forks_url":"https://api.github.com/repos/lionel-/rlang/forks","keys_url":"https://api.github.com/repos/lionel-/rlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lionel-/rlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lionel-/rlang/teams","hooks_url":"https://api.github.com/repos/lionel-/rlang/hooks","issue_events_url":"https://api.github.com/repos/lionel-/rlang/issues/events{/number}","events_url":"https://api.github.com/repos/lionel-/rlang/events","assignees_url":"https://api.github.com/repos/lionel-/rlang/assignees{/user}","branches_url":"https://api.github.com/repos/lionel-/rlang/branches{/branch}","tags_url":"https://api.github.com/repos/lionel-/rlang/tags","blobs_url":"https://api.github.com/repos/lionel-/rlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lionel-/rlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lionel-/rlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/lionel-/rlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lionel-/rlang/statuses/{sha}","languages_url":"https://api.github.com/repos/lionel-/rlang/languages","stargazers_url":"https://api.github.com/repos/lionel-/rlang/stargazers","contributors_url":"https://api.github.com/repos/lionel-/rlang/contributors","subscribers_url":"https://api.github.com/repos/lionel-/rlang/subscribers","subscription_url":"https://api.github.com/repos/lionel-/rlang/subscription","commits_url":"https://api.github.com/repos/lionel-/rlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/lionel-/rlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/lionel-/rlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/lionel-/rlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/lionel-/rlang/contents/{+path}","compare_url":"https://api.github.com/repos/lionel-/rlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lionel-/rlang/merges","archive_url":"https://api.github.com/repos/lionel-/rlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lionel-/rlang/downloads","issues_url":"https://api.github.com/repos/lionel-/rlang/issues{/number}","pulls_url":"https://api.github.com/repos/lionel-/rlang/pulls{/number}","milestones_url":"https://api.github.com/repos/lionel-/rlang/milestones{/number}","notifications_url":"https://api.github.com/repos/lionel-/rlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lionel-/rlang/labels{/name}","releases_url":"https://api.github.com/repos/lionel-/rlang/releases{/id}","deployments_url":"https://api.github.com/repos/lionel-/rlang/deployments","created_at":"2016-11-07T17:05:53Z","updated_at":"2018-09-25T08:39:45Z","pushed_at":"2018-10-17T08:34:14Z","git_url":"git://github.com/lionel-/rlang.git","ssh_url":"git@github.com:lionel-/rlang.git","clone_url":"https://github.com/lionel-/rlang.git","svn_url":"https://github.com/lionel-/rlang","homepage":"https://github.com/r-lib/rlang","size":4863,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"r-lib:master","ref":"master","sha":"665b78c722086d5669161a911b18882081f77f54","user":{"login":"r-lib","id":22618716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNjE4NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/22618716?v=4","gravatar_id":"","url":"https://api.github.com/users/r-lib","html_url":"https://github.com/r-lib","followers_url":"https://api.github.com/users/r-lib/followers","following_url":"https://api.github.com/users/r-lib/following{/other_user}","gists_url":"https://api.github.com/users/r-lib/gists{/gist_id}","starred_url":"https://api.github.com/users/r-lib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-lib/subscriptions","organizations_url":"https://api.github.com/users/r-lib/orgs","repos_url":"https://api.github.com/users/r-lib/repos","events_url":"https://api.github.com/users/r-lib/events{/privacy}","received_events_url":"https://api.github.com/users/r-lib/received_events","type":"Organization","site_admin":false},"repo":{"id":73098312,"node_id":"MDEwOlJlcG9zaXRvcnk3MzA5ODMxMg==","name":"rlang","full_name":"r-lib/rlang","private":false,"owner":{"login":"r-lib","id":22618716,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNjE4NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/22618716?v=4","gravatar_id":"","url":"https://api.github.com/users/r-lib","html_url":"https://github.com/r-lib","followers_url":"https://api.github.com/users/r-lib/followers","following_url":"https://api.github.com/users/r-lib/following{/other_user}","gists_url":"https://api.github.com/users/r-lib/gists{/gist_id}","starred_url":"https://api.github.com/users/r-lib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-lib/subscriptions","organizations_url":"https://api.github.com/users/r-lib/orgs","repos_url":"https://api.github.com/users/r-lib/repos","events_url":"https://api.github.com/users/r-lib/events{/privacy}","received_events_url":"https://api.github.com/users/r-lib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/r-lib/rlang","description":"Low-level API for programming with R","fork":false,"url":"https://api.github.com/repos/r-lib/rlang","forks_url":"https://api.github.com/repos/r-lib/rlang/forks","keys_url":"https://api.github.com/repos/r-lib/rlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/r-lib/rlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/r-lib/rlang/teams","hooks_url":"https://api.github.com/repos/r-lib/rlang/hooks","issue_events_url":"https://api.github.com/repos/r-lib/rlang/issues/events{/number}","events_url":"https://api.github.com/repos/r-lib/rlang/events","assignees_url":"https://api.github.com/repos/r-lib/rlang/assignees{/user}","branches_url":"https://api.github.com/repos/r-lib/rlang/branches{/branch}","tags_url":"https://api.github.com/repos/r-lib/rlang/tags","blobs_url":"https://api.github.com/repos/r-lib/rlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/r-lib/rlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/r-lib/rlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/r-lib/rlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/r-lib/rlang/statuses/{sha}","languages_url":"https://api.github.com/repos/r-lib/rlang/languages","stargazers_url":"https://api.github.com/repos/r-lib/rlang/stargazers","contributors_url":"https://api.github.com/repos/r-lib/rlang/contributors","subscribers_url":"https://api.github.com/repos/r-lib/rlang/subscribers","subscription_url":"https://api.github.com/repos/r-lib/rlang/subscription","commits_url":"https://api.github.com/repos/r-lib/rlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/r-lib/rlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/r-lib/rlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/r-lib/rlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/r-lib/rlang/contents/{+path}","compare_url":"https://api.github.com/repos/r-lib/rlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/r-lib/rlang/merges","archive_url":"https://api.github.com/repos/r-lib/rlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/r-lib/rlang/downloads","issues_url":"https://api.github.com/repos/r-lib/rlang/issues{/number}","pulls_url":"https://api.github.com/repos/r-lib/rlang/pulls{/number}","milestones_url":"https://api.github.com/repos/r-lib/rlang/milestones{/number}","notifications_url":"https://api.github.com/repos/r-lib/rlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/r-lib/rlang/labels{/name}","releases_url":"https://api.github.com/repos/r-lib/rlang/releases{/id}","deployments_url":"https://api.github.com/repos/r-lib/rlang/deployments","created_at":"2016-11-07T16:28:57Z","updated_at":"2018-10-17T08:34:04Z","pushed_at":"2018-10-17T08:34:01Z","git_url":"git://github.com/r-lib/rlang.git","ssh_url":"git@github.com:r-lib/rlang.git","clone_url":"https://github.com/r-lib/rlang.git","svn_url":"https://github.com/r-lib/rlang","homepage":"https://rlang.r-lib.org","size":5038,"stargazers_count":190,"watchers_count":190,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":58,"mirror_url":null,"archived":false,"open_issues_count":48,"license":null,"forks":58,"open_issues":48,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/r-lib/rlang/pulls/663"},"html":{"href":"https://github.com/r-lib/rlang/pull/663"},"issue":{"href":"https://api.github.com/repos/r-lib/rlang/issues/663"},"comments":{"href":"https://api.github.com/repos/r-lib/rlang/issues/663/comments"},"review_comments":{"href":"https://api.github.com/repos/r-lib/rlang/pulls/663/comments"},"review_comment":{"href":"https://api.github.com/repos/r-lib/rlang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/r-lib/rlang/pulls/663/commits"},"statuses":{"href":"https://api.github.com/repos/r-lib/rlang/statuses/f6c19eb51c9a056b6e9c88dfe74a888ed9810349"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":3,"maintainer_can_modify":false,"commits":1,"additions":21,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"lionel-"}}