klmr / box

Write reusable, composable and modular R code

Home Page:https://klmr.me/box/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`box::help` does not work on aliases of attached names

klmr opened this issue · comments

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.