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

box::help does not work on aliases of attached names #297

Open
klmr opened this issue Sep 28, 2022 · 2 comments
Open

box::help does not work on aliases of attached names #297

klmr opened this issue Sep 28, 2022 · 2 comments

Comments

@klmr
Copy link
Owner

klmr commented Sep 28, 2022

MWE

# foo.r

#' This is a test
#' @export
bar = function () 'hi'
box::use(./foo[baz = bar])
box::help(baz)

Observed result

Error in box::help(baz) :
  no documentation available for “baz” in module “./foo”

Expected behaviour

Display the documentation of foo$bar.

@klmr
Copy link
Owner Author

klmr commented Sep 10, 2023

@SaintRod
Copy link

Came to open an issue for this behavior after experiencing this myself - instead I'll add support for the existing issue.

There were name conflicts so I used an alias but discovered the box::help() issue. It wasn't a big deal as I just renamed things, but it would be a nice-to-have.

As always, thanks for the great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants