{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/issues/391","repository_url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder","labels_url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/issues/391/comments","events_url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/issues/391/events","html_url":"https://github.com/swcarpentry/r-novice-gapminder/pull/391","id":326812058,"number":391,"title":"Remove reference to `[]` being a function and tweak.","user":{"login":"MilesMcBain","id":9996346,"avatar_url":"https://avatars3.githubusercontent.com/u/9996346?v=4","gravatar_id":"","url":"https://api.github.com/users/MilesMcBain","html_url":"https://github.com/MilesMcBain","followers_url":"https://api.github.com/users/MilesMcBain/followers","following_url":"https://api.github.com/users/MilesMcBain/following{/other_user}","gists_url":"https://api.github.com/users/MilesMcBain/gists{/gist_id}","starred_url":"https://api.github.com/users/MilesMcBain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilesMcBain/subscriptions","organizations_url":"https://api.github.com/users/MilesMcBain/orgs","repos_url":"https://api.github.com/users/MilesMcBain/repos","events_url":"https://api.github.com/users/MilesMcBain/events{/privacy}","received_events_url":"https://api.github.com/users/MilesMcBain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-27T12:20:57Z","updated_at":"2018-05-27T17:42:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/pulls/391","html_url":"https://github.com/swcarpentry/r-novice-gapminder/pull/391","diff_url":"https://github.com/swcarpentry/r-novice-gapminder/pull/391.diff","patch_url":"https://github.com/swcarpentry/r-novice-gapminder/pull/391.patch"},"body":"Yes it is a function, but this seems like an awkward spot for a sidebar on how all operators are in fact functions, at this point, learners probably can't appreciate that. So it's just a distraction.\r\n\r\nIt also seems contradictory to say `[]` means \"get me the nth element\" when the very next step is to use it to get multiple elements. \"get me these elements\" works for a single element and also works for logical indexing."},"comment":{"url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/issues/comments/392350204","html_url":"https://github.com/swcarpentry/r-novice-gapminder/pull/391#issuecomment-392350204","issue_url":"https://api.github.com/repos/swcarpentry/r-novice-gapminder/issues/391","id":392350204,"user":{"login":"naupaka","id":1428071,"avatar_url":"https://avatars2.githubusercontent.com/u/1428071?v=4","gravatar_id":"","url":"https://api.github.com/users/naupaka","html_url":"https://github.com/naupaka","followers_url":"https://api.github.com/users/naupaka/followers","following_url":"https://api.github.com/users/naupaka/following{/other_user}","gists_url":"https://api.github.com/users/naupaka/gists{/gist_id}","starred_url":"https://api.github.com/users/naupaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naupaka/subscriptions","organizations_url":"https://api.github.com/users/naupaka/orgs","repos_url":"https://api.github.com/users/naupaka/repos","events_url":"https://api.github.com/users/naupaka/events{/privacy}","received_events_url":"https://api.github.com/users/naupaka/received_events","type":"User","site_admin":false},"created_at":"2018-05-27T17:42:25Z","updated_at":"2018-05-27T17:42:25Z","author_association":"MEMBER","body":"I agree with the second part of the proposed change (from \"get me the nth\" to get me these\") but I am not so sure it is worth removing the statement about `[` being a function. Again, an instructor is free to skip over this when teaching, but the additional info could be useful, and helpful for learning about how R works as a language (which might be important for people who have programming experience in another language and are attending a workshop or using these materials to learn R)."}}
{"actor":{"display_login":"naupaka"}}