I am aware that tools::toTitleCase(my_string) does this for the English language. But I have searched and couldn\'t find a Portuguese-specific package.
my_string