Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse_description() loses line numbers #917

hadley opened this issue Sep 19, 2019 · 1 comment

parse_description() loses line numbers #917

hadley opened this issue Sep 19, 2019 · 1 comment


Copy link

@hadley hadley commented Sep 19, 2019

text <- "
#' Foo
#' Description
#' Details
#' @param x xyz
#' @export
#> [[1]]
#> <roxy_block> [<text>:10]
#>   $tag
#>     [line:  1] @title
#>     [line:  1] @description
#>     [line:  1] @details
#>     [line:  9] @param
#>     [line: 10] @export
#>     [line:???] @backref
#>   $call   NULL
#>   $object NULL

Created on 2019-09-19 by the reprex package (v0.3.0)

Copy link

@gaborcsardi gaborcsardi commented Sep 26, 2019

This is also a a problem for #922, because we don't know if those comments were inline, i.e. for a method, or not. So I'll fix this soon.

@hadley hadley closed this in 0d9bace Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants