These are chat archives for klmr/modules

8th
Dec 2017
Holger Brandl
@holgerbrandl
Dec 08 2017 20:47
great package, thanks a lot!
Holger Brandl
@holgerbrandl
Dec 08 2017 21:20

Is it possible to ship my code as a regular package with no default exports, and use modules to import bits as needed? Example

## install my package (once only for sure)
devtools::install_github("holgerbrandl/datautils")

## load it, which will export nothing in its NAMESPACE
require(datautils) 

## import a source file from within the package
modules::import('bio/bioinfo_commons', attach=TRUE)

Obviously the last line does not work that way. Is such a usecase supported by modules?