Skip to content

Putting up fortify() methods for adoption? #5469

@teunbrand

Description

@teunbrand

Currently, ggplot2 hosts some fortify() methods for objects from packages that do not come with the standard R distribution.
Examples of these include the fortify methods that live in fortify-spatial.R, fortify-multcomp.R and fortify-map.R.
To my understanding, these methods exist in ggplot2 because before the advent of extension packages, these had to live in ggplot2. However, ggplot2 has become highly extensible now, which means that specialised functionality could live elsewhere.
Therefore, it might be worth exploring whether we should put these methods up for adoption into extension packages.

It might be a good idea to include @terrytangyuan in the conversation for his thoughts and maybe probe if {ggfortify} has any interest in hosting these methods.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions