Skip to content

Unquoting does not work when not imported #78

@lionel-

Description

@lionel-
variable <- ~cyl
lazyeval::f_interp(~ mean(uq(variable)))
## Error in lazyeval::f_interp(~mean(uq(variable))) : 
##   could not find function "uq"
lazyeval::f_interp(~ mean(lazyeval::uq(variable)))
## ~mean(lazyeval::uq(variable))
uq <- lazyeval::uq
lazyeval::f_interp(~ mean(uq(variable)))
## ~mean(cyl)

Probably the second snippet is a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions