Closed RobertMyles closed 7 years ago
this is great @RobertMyles ! sorry for this late feedback, I will give a look to your code asap. thank you once more
Hi Andrea, I'm glad you like these! Yes, maybe we could exit the code execution at that point. I originally did that with stop()
and stopifnot()
, but it gives that ugly error where RStudio stops and goes into debugging mode. If that's what you prefer, then we could do that, but I think inexperienced users of R won't know what's happening, so that's why I preferred the simple warning.
ok @RobertMyles going to test it shortly. thanks once more
I thought it would be useful to show a message at the end of the process that prints the R version that the user just updated to, instead of having to open terminal. Also the first time I used this function, I saw "password: " printed to the console, and I thought I had to enter it! :-) So, I stopped all of that part printing.
I also took out the package messages for dplyr, and I put in a password check for the function, and I tidied up the code a little bit to make it easier for people (like me!) to read.