Skip to content

aes() should accept !!! at its first and second argument #2675

Closed
@yutannihilation

Description

@yutannihilation

I feel this is a bit counter-intuitive. Is it possible to introduce some tweak to enable this?

library(ggplot2)

q <- quos(colour = Species)
aes(!!!q)
#> Error: Can't use `!!!` at top level

aes(x, y, !!!q)
#> Aesthetic mapping: 
#> * `x`      -> `x`
#> * `y`      -> `y`
#> * `colour` -> `Species`

Created on 2018-05-31 by the reprex package (v0.2.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions