Please describe your feature request
Lets assume you have set the systems R_BOX_PATH environment variable to something like /opt/box. It would be convenient to take advantage of the __init__.r usage pattern with modules within /opt/box.
For example, suppose the following directory structure in /opt/box
foo/__init__.r
#' @export
box::use(./mod1[...], ./mod2[...])
foo/mod1.r
foo/mod2.r
Then, the expected result may look something like this:
box::use(foo)
foo$bar # 1L
foo$baz # 2L
Instead, we currently get an error dictating that there is no package named foo. Thus back to my point, to there being some convenience if box would then start searching the paths.
I am aware that if R_BOX_PATH had /opt set, then the following usage may work
But in my case, there may be other things within /opt that I do not want the box package to walk over.
Please describe your feature request
Lets assume you have set the systems
R_BOX_PATHenvironment variable to something like/opt/box. It would be convenient to take advantage of the__init__.rusage pattern with modules within/opt/box.For example, suppose the following directory structure in
/opt/boxfoo/__init__.rfoo/mod1.rfoo/mod2.rThen, the expected result may look something like this:
Instead, we currently get an error dictating that there is no package named
foo. Thus back to my point, to there being some convenience ifboxwould then start searching the paths.I am aware that if
R_BOX_PATHhad/optset, then the following usage may workBut in my case, there may be other things within
/optthat I do not want theboxpackage to walk over.