Why doesn’t this inline expression `r getwd() |> strsplit(‘/’)` work when inside the yaml header of a rmarkdown document?
I am trying to include as a subtitle in the yaml of a rmarkdown document an inline r code expression to get a part of the directory name.