I was feeling sad so I decided to queer my #rstats startup message, and now I don't feel so sad
@djnavarro I am also super curious to the remaining R startup message though! Its so neat and concise, how do you do that?

@Drmowinckels Oh yeah that's a bit of a hack. My .Rprofile has a line in it that clears the screen (and with it the default startup message):

cat("\014")

After that, I write my own startup message like this:

cli::cli_alert(R.version.string)
cli::cli_alert(paste("Running under", utils::osVersion))
cli::cli_alert(paste("System time is", as.character(lubridate::now())))

@Drmowinckels That works fine in RStudio, but if you want it to work for R at the terminal you have to do a bit more work, so the actual "clear screen" code I use is

system2("clear")
cat("\014")

@djnavarro this so way more fun than it should be :) I also added one alert for library paths, which I think is neat to alert me when I'm renv'ing etc. :D
@Drmowinckels oh that’s a good idea
@djnavarro this just actually made me realise that it has set up no less than 5 paths on our server and two of them are completely empty and likely redundant. So, it does help!