-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
The binary addition operator currently has the following implementation
`+.glue` <- function(e1, e2) {
glue(e1, e2, .envir = parent.frame())
}Would it be desirable to be a little stricter here and maybe error if one of the inputs is not a character / glue object. It feels like the following would be better to error:
1L + glue::glue("y")
#> 1yCreated on 2023-01-11 with reprex v2.0.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement