Skip to content

About the name and the default value of rename_aes #4886

Closed
@yutannihilation

Description

@yutannihilation

@thomasp85
Sorry for bothering you. Re-reading #3672, I found I don't have clear answers to the following points. Can we discuss here?

  1. Why is the default value of rename_size FALSE? I'm afraid it would feel a bit inconsistent that the extension packages that don't catch up with this change would behave differently, while we are very careful not to introduce breaking changes on ggplot2 itself by setting rename_size = TRUE everywhere necessary. What about
    a. using rename_size = TRUE by default for the first release, or
    b. making the default value of rename_size as an option or an edition? In this case, the user can choose the behavior they prefer, and the developer can use rename_size = FALSE (or TRUE) if they think it's inappropriate to expose it as an option.
  2. Can we have another word than "rename"? It seems "rename" sounds like the original one is removed (c.f. Add rename_size=TRUE to GeomSf, GeomCrossbar, GeomPointrange, and GeomSmooth #4884 (comment)), like dplyr's rename(), while rename_size = TRUE actually keeps the size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions