{"action":"created","issue":{"url":"https://api.github.com/repos/klutometis/roxygen/issues/491","repository_url":"https://api.github.com/repos/klutometis/roxygen","labels_url":"https://api.github.com/repos/klutometis/roxygen/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/klutometis/roxygen/issues/491/comments","events_url":"https://api.github.com/repos/klutometis/roxygen/issues/491/events","html_url":"https://github.com/klutometis/roxygen/issues/491","id":168943704,"number":491,"title":"Tab vs space between #' and @","user":{"login":"rcorty","id":718555,"avatar_url":"https://avatars.githubusercontent.com/u/718555?v=3","gravatar_id":"","url":"https://api.github.com/users/rcorty","html_url":"https://github.com/rcorty","followers_url":"https://api.github.com/users/rcorty/followers","following_url":"https://api.github.com/users/rcorty/following{/other_user}","gists_url":"https://api.github.com/users/rcorty/gists{/gist_id}","starred_url":"https://api.github.com/users/rcorty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcorty/subscriptions","organizations_url":"https://api.github.com/users/rcorty/orgs","repos_url":"https://api.github.com/users/rcorty/repos","events_url":"https://api.github.com/users/rcorty/events{/privacy}","received_events_url":"https://api.github.com/users/rcorty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T17:35:22Z","updated_at":"2016-08-29T15:27:07Z","closed_at":"2016-08-29T15:27:07Z","body":"Not sure if this is a bug or a feature, just documenting it a bit in case it's a bug.\r\n\r\nI'm using R version 3.3.0 on Rstudio 0.99.902 on Mac OS 10.11.6 (15G31).\r\n\r\nI had the following in the preamble to one of my functions\r\n\r\n```\r\n#'  @title myFunction\r\n#'  @param my.parameter.description\r\n#'  @export\r\n```\r\n\r\nNote that there are two spaces between `#'` and `@`.  This is what Rstudio puts there if I type pound-singlequote-tab-atsign.  On `roxygenise()`, myFunction wasn't getting added to NAMESPACE.  I remembered some problem I had months ago about the spacing before the `@`, so I switched the preamble to this:\r\n\r\n```\r\n#'  @title myFunction\r\n#'  @param my.parameter.description\r\n#' @export\r\n```\r\n\r\nNote that now the `@export` line has only one space before the `@`.  \r\nWhen I used `roxygenise()`, I got this error:\r\n\r\n`@export [myFuncion.R #43]: may only span a single line `\r\n\r\nI switched all the lines to have a single space between `#'` and `@` and now `roxygenise()` works as expected."},"comment":{"url":"https://api.github.com/repos/klutometis/roxygen/issues/comments/243158278","html_url":"https://github.com/klutometis/roxygen/issues/491#issuecomment-243158278","issue_url":"https://api.github.com/repos/klutometis/roxygen/issues/491","id":243158278,"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-08-29T15:27:07Z","updated_at":"2016-08-29T15:27:07Z","body":"Yes, you must have one space.  I can't get RStudio to produce a double space.\r\n\r\ncc @kevinushey in case he has any ideas"}}
{"actor":{"display_login":"hadley"}}