This throws a YAML parsing error : Error in $: parsing Text failed, expected String, but encountered Object which suggests that the expression isn't being evaluated and substitute with a string.
I've tried other methods such as the ones discussed here but haven't had any success getting this to work properly. IIRC you could get expressions like this to work in RMarkdown but that may not be the case in Quarto.
You can't use R expression in YAML header with Quarto. This is a matter of when a YAML option is needed and used.
Quarto will only run R for evaluating your computation chunks. Everything else will be done without R (or Python). Especially, YAML header is not read using a R parser like yaml parser which the package that support !expr to evaluate the text as an R expression.
So you can't really do that with Quarto. It could be working in some edgecase like you did with title, but it is just a side effect of title field not being used elsewhere by quarto in simple document and so knitr would replace the YAML field and Pandoc would read it correctly. However, in website context, this would probably not work.
So unfortunately you can't do exactly the same in Quarto than in R Markdown, because
R Markdown is all R for pre processing, knitting post processing
but Quarto is R only for evaluating R chunks with knitr. Otherwise, pre processing and post processing is not involving R. So R expression means nothing.