Skip to content

layout is masked from ‘package:graphics’ #464

@talgalili

Description

@talgalili

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions