Closed ggrothendieck closed 1 year ago
The warning is a bug in ‘box’, it’s tracked in #255. I have a candidate fix, but doing this properly is more complicated than anticipated. However, I should be able to push a fix soon.
I’m afraid the feature request is definitely out of scope for ‘box’: fundamentally, the purpose and long-term vision of ‘box’ is to provide a consistent ecosystem for modules which entirely replaces the use of source
in R (and I believe that this aim has been achieved with the current version of ‘box’). Adding support for non-module R code would be actively counter-productive to this intent.
Error description
If this file, called test.R, is in current directory
and then I use this on a vanilla instance of R:
I get this (except I have changed the username below from the actual username for security); however, the help does come up.
Also
is there some way of getting the help without invoking box::use first? Something like this:
I would like to use it only for documentation but do not need to actually create any modules. Will use source to get the source. Also when I use the
use
command it complains about library commands but since I am not actually using the module, just the help I don't want to see these. Also is it possible to create something analogous to help(package = myPackage) for the functions in a file that have roxygen2 documentation using box?R version
‘box’ version
1.1.2