Is there any reason not to lint this?
# known string
sprintf(paste0(x, y))
# assumed string
sprintf(foo())
We already lint the literal version:
lint(text = "sprintf('a')", linters = sprintf_linter())
# <text>:1:1: warning: [sprintf_linter] sprintf call can be removed when a constant string is provided.
# sprintf('a')
# ^~~~~~~~~~~~