{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/roxygen2/issues/931","repository_url":"https://api.github.com/repos/r-lib/roxygen2","labels_url":"https://api.github.com/repos/r-lib/roxygen2/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/roxygen2/issues/931/comments","events_url":"https://api.github.com/repos/r-lib/roxygen2/issues/931/events","html_url":"https://github.com/r-lib/roxygen2/issues/931","id":502945230,"node_id":"MDU6SXNzdWU1MDI5NDUyMzA=","number":931,"title":"Documentation for R6 methods added dynamically by \"$set()\"","user":{"login":"coolbutuseless","id":181818,"node_id":"MDQ6VXNlcjE4MTgxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/181818?v=4","gravatar_id":"","url":"https://api.github.com/users/coolbutuseless","html_url":"https://github.com/coolbutuseless","followers_url":"https://api.github.com/users/coolbutuseless/followers","following_url":"https://api.github.com/users/coolbutuseless/following{/other_user}","gists_url":"https://api.github.com/users/coolbutuseless/gists{/gist_id}","starred_url":"https://api.github.com/users/coolbutuseless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolbutuseless/subscriptions","organizations_url":"https://api.github.com/users/coolbutuseless/orgs","repos_url":"https://api.github.com/users/coolbutuseless/repos","events_url":"https://api.github.com/users/coolbutuseless/events{/privacy}","received_events_url":"https://api.github.com/users/coolbutuseless/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2019-10-05T10:17:44Z","updated_at":"2019-10-06T18:54:43Z","closed_at":null,"author_association":"NONE","body":"I've just converted [minihtml](https://github.com/coolbutuseless/minihtml) over to latest roxygen2 from github to test out the R6 support and it's working pretty well.\r\n\r\nOne challenge at the moment is that I generate many R6 methods  for `HTMLElement` class dynamically using `HTMLElement$set(\"public\", method_name, method)`.  I can not see any way to generate documentation for these methods and roxygen is **very** noisy in telling me that neither the methods nor any of their arguments are documented!\r\n\r\n<details closed>\r\n<summary> Click to see section of warnings generated during documentation step </summary>\r\n\r\n```\r\n(... snipped a 100 lines at the start ...)\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `title()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `tr()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `track()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `tt()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `ul()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `var()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `video()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] `wbr()`: undocumented R6 method\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] argument `...` undocumented for R6 method `a()`\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] argument `href` undocumented for R6 method `a()`\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] argument `hreflang` undocumented for R6 method `a()`\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] argument `media` undocumented for R6 method `a()`\r\nWarning: [/Users/mike/projects/minihtml/R/HTMLElement.R:1] argument `rel` undocumented for R6 method `a()`\r\n\r\n(... snipped a few hundred lines at the end ...)\r\n```\r\n\r\n</details>\r\n\r\n\r\nQuestions:\r\n\r\n* Is there a way to document methods added dynamically with a `$set()`?\r\n* Is there a way to tell roxygen2 to be quieter about missing documentation for methods?\r\n* Is there a way to tell roxygen2 that although some methods are public I do not want to include them in the documentation?\r\n\r\n\r\n\r\n\r\n---\r\nSidenote: Whether or not it's a good idea to generate a method for each of the ~100 HTML tags is a different conversation :)"},"comment":{"url":"https://api.github.com/repos/r-lib/roxygen2/issues/comments/538776687","html_url":"https://github.com/r-lib/roxygen2/issues/931#issuecomment-538776687","issue_url":"https://api.github.com/repos/r-lib/roxygen2/issues/931","id":538776687,"node_id":"MDEyOklzc3VlQ29tbWVudDUzODc3NjY4Nw==","user":{"login":"hadley","id":4196,"node_id":"MDQ6VXNlcjQxOTY=","avatar_url":"https://avatars3.githubusercontent.com/u/4196?v=4","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2019-10-06T18:54:43Z","updated_at":"2019-10-06T18:54:43Z","author_association":"MEMBER","body":"I don’t think `$set()` returning null should be a problem - you can just inspect components of the call to find the right class. "}}
{"actor":{"display_login":"hadley"}}