Hello! I don't speak Portugese, but I did run your question through Google Translate. I hope my reply is somewhat helpful.
What is the reason you are using caret? If you just want to run the lines of code you have written here (fit and predict) then you don't have to use caret at all. Of course, if you are using some other part of caret, like cross-validation, then you should use it.
This link might be helpful, if it makes sense to you - https://topepo.github.io/caret/using-your-own-model-in-train.html
Olá! Não falo português, mas fiz sua pergunta no Google Tradutor. Espero que minha resposta seja um pouco útil.
Por que você está usando o caret? Se você deseja apenas executar as linhas de código que você escreveu aqui (ajustar e prever), não precisa usar o caret. Obviamente, se você estiver usando alguma outra parte do caret, como validação cruzada, deverá usá-lo.
Este link pode ser útil, se fizer sentido para você - https://topepo.github.io/caret/using-your-own-model-in-train.html