What is the reason behind quoting the name of your function? I have seen this in a couple of packages (for example line number 2 here in the quantmod
package). Instead of writing
f <- function(x)
they write
"f" <- function(x)
Another example is from the gratia (line 88) package where functions are back quoted:
`f` <- function(x)
[<-
type operators. That is, if you want to define a function that writes to a subset of a custom class so the user can dox[y] <- z
then you need to write a function like"[<-.myclass" <- function(y, z) {...}
f
instead of the actual function name