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

non-syntactic argument names in usage #191

yihui opened this issue Feb 12, 2014 · 1 comment

non-syntactic argument names in usage #191

yihui opened this issue Feb 12, 2014 · 1 comment


Copy link

@yihui yihui commented Feb 12, 2014

For example, the usage should be f(_x) for the function below, but roxygen2 stripped off the backticks for some reason:

roc <- roxygen2:::rd_roclet()
out <- roxygen2:::roc_proc_text(roc, "
    #' Title.
    f <- function(`_x`) 1")[[1]]
roxygen2:::get_tag(out, "usage")$values
# <rd> f(_x)
Copy link

@hadley hadley commented Feb 12, 2014

Thanks - I'll take a look. They're probably getting lost because somewhere I'm doing deparse(quote(_x)) instead of deparse(quote(_x), backtick = TRUE)

@hadley hadley closed this in 401082e Feb 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants