moodymudskipper / tags

A collection of tags built using the package tag
GNU General Public License v3.0
8 stars 0 forks source link

substituting #17

Closed moodymudskipper closed 5 years ago

moodymudskipper commented 5 years ago

inspired by :

https://github.com/moodymudskipper/mmmisc/issues/11

we proposed :

 substitute2 <- function(
  expr, ..., depth = 0, env = parent.frame(), expand = NULL, eval = FALSE) { ...}

But it would be nice to have substituting, just like we'll have using, maybe also with a method for [

substituting(...)$fun(...)
substituting(...)[expr] # or/and
substituting(...)[[expr]] # 
moodymudskipper commented 5 years ago

To the fridge