I just noticed that there is a plotly::layout function. This is a recipe for clashes with other packages which use graphics (in their DESCRIPTION) as depends (instead of as import).
I just had this clash between plotly and gplots.
I think the function should be renamed (maybe layout_ly or something like that), or be hidden from the global environment.
p.s.: I am surprised this didn't come up on CRAN. Packages should avoid masking functions from the base R packages as much as possible.
With regards,
Tal
I just noticed that there is a plotly::layout function. This is a recipe for clashes with other packages which use graphics (in their DESCRIPTION) as depends (instead of as import).
I just had this clash between plotly and gplots.
I think the function should be renamed (maybe layout_ly or something like that), or be hidden from the global environment.
p.s.: I am surprised this didn't come up on CRAN. Packages should avoid masking functions from the base R packages as much as possible.
With regards,
Tal