These are chat archives for klmr/modules
inst. Indeed loading the packages seemed not correct in the first place.
modules, what other mechanism would you suggest to allow some user to install my modules? To me, (ab)using the r package system for installation, and
modulesfor fine-grained namespace control seemed like a nice combo.
modules::import(‘datautils/inst/bio/bioinfo_commons’), it should fail with
Error: ‘datautils' is not installed! Install firstif
datautilsis not yet installed. This would be more consistent with
import_from_package('datautils/inst/bio/bioinf_commons')there is no easy way to overcome that problem.
importcould somehow recurse into sub-directories. So in my case
modules::import(‘datautils/inst/bio’, attach=T)should import and attach all methods under
bio. But maybe this defeats the purpose of having a module system?