namespaces - R package needs functions of the same name from two packages -
namespaces - R package needs functions of the same name from two packages -
i have read through numerous posts on topic , have spend far much time seek right. decided write yet question on topic.
what want utilize namespace file import/importfrom correct. problem warning upon rcmd check (which not appreciated on cran):
warning: replacing previous import 'gtable::gtable' when loading 'strvalidator'
it similar this , this question none of them create me wiser.
my bundle (full code here) utilize gtable
function both gtable
, gwidgets
bundle solutions only import functions use or change order of import not solve problem. utilize double colon gtable
functions (i.e. gtable::gtable
, gwidgets::gtable
) pointed out in this , this post.
i utilize importfrom
functions (as pointed out here) except packages utilize numerous functions (here utilize import
instead. have tested importfrom
gives same warning).
any help highly appreciated!
r namespaces package
Comments
Post a Comment