title: R - Parsing the un-evaluated value of an argument after 2 calls
body: <p>I'm trying to parse un-evaluated value of an argument of a function which itself is given as argument to the calling function.</p>
  
  <pre><code>f1 &lt;- function(arg){
    f2(arg)
  }
  f2 &lt;- function(arg2){
    print(deparse(substitute(arg2)))
  }
  
  f1(sometext)
  </code></pre>
  
  <p>I would like to use <code>sometext</code> inside the f2 function as string by deparsing and/or using it as variable by enquo-ing it.</p>
  
  <p>If I parse is this way it just gives the name from the calling environment. I need it to give the name <code>something</code>. Thanks </p>