Works the same as if you would have entered the expression and called quote on it.
quote
asQuoted(s, env = parent.frame())
s
[character(1)] Expression as string.
character(1)
env
[numeric(1)] Environment for expression. Default is parent.frame()
numeric(1)
parent.frame()
Quoted expression.
asQuoted("x == 3")
## x == 3