For internal use by the placeholder_format
tweak.
Value
[function(n)]
A function with one argument n
that
returns a vector of length n
with placeholders of the specified format.
Examples
body(DBItest:::make_placeholder_fun("?"))
#> rep("?", n)
DBItest:::make_placeholder_fun("?")(2)
#> [1] "?" "?"
DBItest:::make_placeholder_fun("$1")(3)
#> [1] "$1" "$2" "$3"
DBItest:::make_placeholder_fun(":name")(5)
#> a b c d e
#> ":a" ":b" ":c" ":d" ":e"