a <- "A"
bquote(.(as.name(a)) = 4)
Error: unexpected '=' in "bquote(.(as.name(a)) ="
bquote(A = 4)
Error in bquote(A = 4) : unused argument (A = 4)
a <- "A"
bquote(f(.(as.name(a)) = 4))
Error: unexpected '=' in "bquote(f(.(as.name(a)) ="
How can I get around this?
We don't need
as.name
-output
or another option with quotes