How to pass a character string with a hyphen
tmp <- function(s) {
return(str(s))
}
key <- "xxxx-yyyy"
tmp(key)
# chr "xxxx-yyyy"
... works for me.
Reprex?
Cheers,
Boris
tmp <- function(s) {
return(str(s))
}
key <- "xxxx-yyyy"
tmp(key)
# chr "xxxx-yyyy"
... works for me.
Reprex?
Cheers,
Boris