I'm trying to take stocks data (day, hour, second, months, weeks)... to do some studys. But I can't do it. Some packages it's ok, but others it's not. look some messages that I saw
In the second error message, it says that you need version 3.4.0 or above of cli. You only have version 3.3.0. To fix that, try install.packages("cli"). Then perhaps run everything again?
Otherwise, please post the code and errors as text instead of screenshots. It makes it easier to copy/paste.
You haven't installed it successfully, please restart your R session and post the complete console output you get when you run this command
install.packages("cli")
Also, a note about this. Packages only need to be installed once (interactively); you shouldn't include install commands in your script, otherwise, you'll be reinstalling them every time you execute the script.