Say I have a bunch of functions, each with something likeMyFunction.1, etc. I want to pass these functions into another function, which prints out a small repo
MyFunction.1
I was wanting the same thing, and remembered library(foo) didn't need quotes, this is what it does:
library(foo)
package <- as.character(substitute(package))