{"action":"created","issue":{"url":"https://api.github.com/repos/klutometis/roxygen/issues/514","repository_url":"https://api.github.com/repos/klutometis/roxygen","labels_url":"https://api.github.com/repos/klutometis/roxygen/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/klutometis/roxygen/issues/514/comments","events_url":"https://api.github.com/repos/klutometis/roxygen/issues/514/events","html_url":"https://github.com/klutometis/roxygen/issues/514","id":178375243,"number":514,"title":"setClassUnion causes missing name error.","user":{"login":"johnpauls","id":5996979,"avatar_url":"https://avatars.githubusercontent.com/u/5996979?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpauls","html_url":"https://github.com/johnpauls","followers_url":"https://api.github.com/users/johnpauls/followers","following_url":"https://api.github.com/users/johnpauls/following{/other_user}","gists_url":"https://api.github.com/users/johnpauls/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpauls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpauls/subscriptions","organizations_url":"https://api.github.com/users/johnpauls/orgs","repos_url":"https://api.github.com/users/johnpauls/repos","events_url":"https://api.github.com/users/johnpauls/events{/privacy}","received_events_url":"https://api.github.com/users/johnpauls/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/klutometis/roxygen/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-21T15:07:06Z","updated_at":"2016-09-21T20:29:42Z","closed_at":"2016-09-21T18:54:00Z","body":"If you have a setClassUnion statement in your code, roxygen2 (version 5.0.1) will throw a missing name error when you build the package (done using RStudio 0.99.903, on a Windows 7 machine). If you move the setClassUnion statement above of all the roxygen2 documentation statemetns , i.e. everything starting #' @xxxx  then the error goes away. If you are just trying to document a class union, then the documentation is not produced.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/klutometis/roxygen/issues/comments/248733278","html_url":"https://github.com/klutometis/roxygen/issues/514#issuecomment-248733278","issue_url":"https://api.github.com/repos/klutometis/roxygen/issues/514","id":248733278,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","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":"2016-09-21T20:29:42Z","updated_at":"2016-09-21T20:29:42Z","body":"That now works fine for me (and you can use `@export`  instead of `@exportClass`)"}}
{"actor":{"display_login":"hadley"}}