[Bioc-devel] Install subset of R package
Oliver Bembom wrote:
Hi all, Does anybody know of a way to install only a subset of an R package? An R package that I've written contains a GUI part that depends on tcl/tk, and some users would like to able to install the package on systems without tcl/tk support. Since the package can be used fine without the GUI, I was thinking that I could just remove the GUI part from the package and move it into a separate add-on package. This would be fairly straightforward. Alternatively, is there a way to offer an option that would allow the user to decide at install time to not install the GUI part? All the functions for the GUI are in a separate .R file; only one of the GUI functions is exported in the NAMESPACE and is called at only one point in the remainder of the package. Thanks,
You might talk directly to the author of the package to see if he/she would be willing to suggest ways to do this, or to make some changes to the package directly. Sean