Skip to content

Putting up fortify() methods for adoption? #5469

Closed

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.

Activity

  1. terrytangyuan commented on Oct 14, 2023

    @terrytangyuan

    Thanks for the mention. Those fortify methods look suitable in {ggfortify} if their implementations do not involve using any {ggplot2} internal methods. It would be great if anyone would like to contribute these to {ggfortify}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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