These are chat archives for klmr/modules

Dec 2017
Konrad Rudolph
Dec 10 2017 13:58
@holgerbrandl Although that use case isn’t really supported, it does work; just leave out the unnecessary require statement, and adjust the import path; using
options(import.path = .libPaths())
# and then:
Note that, due to the R package structure requirements, you need to put the module files inside the inst folder in the package.
If you instead want to load the package code itself, simply use modules::import_package('datautils') but (once again due to how R packages work) this doesn’t allow you to use nested modules (bio/bioinf_commons). :-(