rlang icon indicating copy to clipboard operation
rlang copied to clipboard

Should env_clone() copy attributes ?

Open moodymudskipper opened this issue 1 year ago • 0 comments

Or offer the option.

When I think about cloning I think I will get an equivalent object, and it's not the case.

e <- ggplot2::geom_point()
e
#> geom_point: na.rm = FALSE
#> stat_identity: na.rm = FALSE
#> position_identity
rlang::env_clone(e)
#> <environment: 0x11533d198>

moodymudskipper avatar Apr 07 '23 13:04 moodymudskipper